Home
last modified time | relevance | path

Searched hist:"5 e053534be14cc71674dd9d3615de40e82d3f116" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/6lowpan/
H A Ddebugfs.cdiff 5e053534be14cc71674dd9d3615de40e82d3f116 Wed Dec 19 20:53:53 CST 2018 YueHaibing <yuehaibing@huawei.com> 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>