aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBjorn Helgaas <[email protected]>2019-03-22 13:06:40 -0500
committerBjorn Helgaas <[email protected]>2019-04-13 11:17:36 -0500
commit113fb03ed1d4c1877cc8817e500867616b222380 (patch)
treecb8d707b6b70e9eabbcb49f7e57d9fa39cea3bbd /tools/perf/scripts/python/exported-sql-viewer.py
parent12fa4f47924c9e0638869c2315dda29d50a94446 (diff)
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 <[email protected]> CC: Masahiro Yamada <[email protected]> CC: Greg Kroah-Hartman <[email protected]> CC: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions