path: root/drivers/ras
diff options
authorYueHaibing <>2018-12-28 07:24:13 +0000
committerIngo Molnar <>2019-04-19 19:25:08 +0200
commit28156d7678431312b463361b23a218a1b5645ba5 (patch)
treea4608bfd19323e8a968383d74649daf9355831a0 /drivers/ras
parent39f0584ee695f1d75f4181b209602b9c49e73821 (diff)
x86/mce: 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 <> Cc: Borislav Petkov <> Cc: Linus Torvalds <> Cc: Peter Zijlstra <> Cc: Thomas Gleixner <> Cc: Tony Luck <> Cc: Vishal Verma <> Cc: Yazen Ghannam <> Cc: Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions