summary refs log tree commit diff
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-16 01:54:06 +0000
committerMarcel Holtmann <marcel@holtmann.org>2019-01-22 09:51:19 +0100
commite250fab655182f9e8ce5660d81f974939cf83cfc (patch)
tree8fc8a36f07382a6927c93713846970263b8e1069 /crypto/salsa20_generic.c
parent5c0a1001c8beecc29c2364171f3a1080e864a672 (diff)
downloadlinux-e250fab655182f9e8ce5660d81f974939cf83cfc.tar.gz
Bluetooth: 6lowpan: 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: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions