aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2019-01-25 02:28:59 +0000
committerDavid S. Miller <[email protected]>2019-01-25 22:05:23 -0800
commit84239b445964b15045e1418ebf28e74121ace309 (patch)
tree370b6032ca45e985b98cbfe6d3d8b5bcc0d97625 /scripts/gdb/linux/utils.py
parentf515220cc24be9824d304ebe62867ec31aeb47fb (diff)
ptp: 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: Yangbo Lu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions