aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-25 02:28:59 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-25 22:05:23 -0800
commit84239b445964b15045e1418ebf28e74121ace309 (patch)
tree370b6032ca45e985b98cbfe6d3d8b5bcc0d97625 /net/ipv4
parentMerge branch 'r8169-add-EEE-support-for-RTL8168g+' (diff)
downloadlinux-dev-84239b445964b15045e1418ebf28e74121ace309.tar.xz
linux-dev-84239b445964b15045e1418ebf28e74121ace309.zip
ptp: 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> Acked-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions