aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2018-12-29 01:43:48 +0000
committerUlf Hansson <[email protected]>2019-02-25 08:40:58 +0100
commitf6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd (patch)
treeaf127a2b4a6691cbf0c28c64f33ea338fc20ffb9 /scripts/gdb/linux/utils.py
parent204d94e63e22d4bd4e8ce8af1aeeda2208822cd0 (diff)
mmc: block: 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]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions