CPER: Remove unnecessary use of user-space types
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Mar 2019 18:06:40 +0000 (13:06 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 13 Apr 2019 16:17:36 +0000 (11:17 -0500)
commit113fb03ed1d4c1877cc8817e500867616b222380
treecb8d707b6b70e9eabbcb49f7e57d9fa39cea3bbd
parent12fa4f47924c9e0638869c2315dda29d50a94446
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>
include/linux/cper.h