diff options
author | Maíra Canal <[email protected]> | 2023-01-05 16:30:38 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2023-01-10 09:57:05 -0300 |
commit | c9ba134e05ab222e43bb03e1dbc101ca4c206666 (patch) | |
tree | 057476f81e3b38ebe3afef4503f48bfcf4ce4ea2 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 05375d5cb2f18fb977d5a12607b2505d18d8e2ae (diff) |
drm/debugfs: use octal permissions instead of symbolic permissions
Currently, debugfs functions are using symbolic macros as permission
bits, but checkpatch reinforces permission bits in the octal form, as
they are more readable and easier to understand [1]. Moreover, using
the symbolic macro S_IFREG is redundant.
Therefore, use octal permission bits in all debugfs functions.
[1] https://docs.kernel.org/dev-tools/checkpatch.html#permissions
Suggested-by: Jani Nikula <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions