linux/net/6lowpan
YueHaibing 5e053534be 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>
2019-01-22 09:51:19 +01:00
..
6lowpan_i.h
Kconfig
Makefile
core.c
debugfs.c 6lowpan: fix debugfs_simple_attr.cocci warnings 2019-01-22 09:51:19 +01:00
iphc.c
ndisc.c
nhc.c
nhc.h
nhc_dest.c
nhc_fragment.c
nhc_ghc_ext_dest.c
nhc_ghc_ext_frag.c
nhc_ghc_ext_hop.c
nhc_ghc_ext_route.c
nhc_ghc_icmpv6.c
nhc_ghc_udp.c
nhc_hop.c
nhc_ipv6.c
nhc_mobility.c
nhc_routing.c
nhc_udp.c