diff options
author | 2018-12-28 07:33:35 +0000 | |
---|---|---|
committer | 2019-02-14 12:36:21 +0100 | |
commit | 1ff85bfa1614df6cacec780cd5922dc0b1c340c7 (patch) | |
tree | 0f50968cfa58bf584acdc756ce5ae6a9713af382 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.0-rc1 (diff) | |
download | wireguard-linux-1ff85bfa1614df6cacec780cd5922dc0b1c340c7.tar.xz wireguard-linux-1ff85bfa1614df6cacec780cd5922dc0b1c340c7.zip |
HSI: omap_ssi_port: 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 <yuehaibing@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions