summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-02 16:18:08 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-14 13:55:45 +0300
commitee9fa8f302dc1df10583fc043a91003e0a332d1b (patch)
treeaa329917d1f3ed078abc78deb671956a3ffa4475 /scripts/gdb/linux/utils.py
parentf3355298fc5a24eb7606448bc02a08b3485e5979 (diff)
downloadlinux-ee9fa8f302dc1df10583fc043a91003e0a332d1b.tar.xz
ACPI: APEI: EINJ: Use DEFINE_DEBUGFS_ATTRIBUTE for debugfs files
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for debugfs files to make debugfs_simple_attr.cocci warnings go away. 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 <yuehaibing@huawei.com> Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions