diff options
author | Changcheng Deng <[email protected]> | 2021-12-21 14:42:34 +0000 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2022-02-18 18:32:52 +0300 |
commit | 5333f0ecf73800c0b503c0c257e0be39fcf316b1 (patch) | |
tree | 19423c6728442ba472f98cbfd4bc1001df637a1d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 26291c54e111ff6ba87a164d85d4a4e134b7315c (diff) |
drm/msm: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE
Fix the following coccicheck warning:
./drivers/gpu/drm/msm/msm_debugfs.c: 132: 0-23: WARNING: shrink_fops
should be defined with DEFINE_DEBUGFS_ATTRIBUTE
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for
debugfs files.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Changcheng Deng <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions