diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-11-29 13:35:18 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:04 +1100 |
commit | 090d5ab93d0b8a079dd516c16649bd00ba4f7302 (patch) | |
tree | 0230bc47009ed6cb261644737c4b235f171985b7 /arch/powerpc/platforms/powernv/pci-ioda.c | |
parent | d273fa919c39223a1edd968e82ea88501b63d21a (diff) | |
download | linux-090d5ab93d0b8a079dd516c16649bd00ba4f7302.tar.bz2 |
powerpc/64s: 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: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1543498518-107601-1-git-send-email-yuehaibing@huawei.com
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci-ioda.c')
0 files changed, 0 insertions, 0 deletions