diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-03-22 13:06:40 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-04-13 11:17:36 -0500 |
commit | 113fb03ed1d4c1877cc8817e500867616b222380 (patch) | |
tree | cb8d707b6b70e9eabbcb49f7e57d9fa39cea3bbd /drivers/iommu | |
parent | 12fa4f47924c9e0638869c2315dda29d50a94446 (diff) | |
download | linux-113fb03ed1d4c1877cc8817e500867616b222380.tar.gz linux-113fb03ed1d4c1877cc8817e500867616b222380.tar.bz2 linux-113fb03ed1d4c1877cc8817e500867616b222380.zip |
CPER: Remove unnecessary use of user-space types
"__u32" and similar types are intended for things exported to user-space,
including structs used in ioctls; see include/uapi/asm-generic/int-l64.h.
They are not needed for the CPER struct definitions, which not exported to
user-space and not used in ioctls. Replace them with the typical "u32" and
similar types. No functional change intended.
The reason for changing this is to remove the question of "why do we use
__u32 here instead of u32?" We should use __u32 when there's a reason for
it; otherwise, we should prefer u32 for consistency.
Reference: Documentation/process/coding-style.rst
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Masahiro Yamada <yamada.masahiro@socionext.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions