diff options
author | YueHaibing <[email protected]> | 2018-12-20 02:42:51 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-12-20 22:59:03 +1100 |
commit | 8c6c942d33f2a79439e86f8f406afae40a5bc767 (patch) | |
tree | e2af97008ce121ba6fcae6c553d1c301977dc1bb /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | e59f5bd759b7dee57593c5b6c0441609bda5d530 (diff) |
powerpc/eeh: Fix debugfs_simple_attr.cocci warnings
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
for debugfs files.
Semantic patch information:
Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file()
imposes some significant overhead as compared to
DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe().
Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
Signed-off-by: YueHaibing <[email protected]>
Acked-by: Russell Currey <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions