✗ CI.checkpatch: warning for drm/i915: use drm->debugfs_root when creating debugfs files (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Jul 29 10:03:07 UTC 2025
== Series Details ==
Series: drm/i915: use drm->debugfs_root when creating debugfs files (rev2)
URL : https://patchwork.freedesktop.org/series/150106/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
c298eac5978c38dcc62a70c0d73c91765e7cc296
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2b5857cf8e615237ea56762508594ab0bf82350f
Author: Jani Nikula <jani.nikula at intel.com>
Date: Tue Jul 29 12:57:39 2025 +0300
drm/i915: use drm->debugfs_root for creating debugfs files
Since commit 0b30d57acafc ("drm/debugfs: rework debugfs directory
creation v5") we should be using drm->debugfs_root instead of
minor->debugfs_root for creating debugfs files.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch c2d04724123c8df9ecec874f1db3007540c264e6 drm-intel
45e359d65c68 drm/i915/display: use drm->debugfs_root for creating debugfs files
c381a6f414d6 drm/i915/gvt: use drm->debugfs_root for creating debugfs files
2b5857cf8e61 drm/i915: use drm->debugfs_root for creating debugfs files
-:54: WARNING:SYMBOLIC_PERMS: Symbolic permissions 'S_IRUSR' are not preferred. Consider using octal permissions '0400'.
#54: FILE: drivers/gpu/drm/i915/i915_debugfs.c:730:
+ debugfs_create_file("i915_forcewake_user", S_IRUSR, debugfs_root,
-:61: WARNING:SYMBOLIC_PERMS: Symbolic permissions 'S_IRUGO | S_IWUSR' are not preferred. Consider using octal permissions '0644'.
#61: FILE: drivers/gpu/drm/i915/i915_debugfs.c:733:
+ debugfs_create_file(i915_debugfs_files[i].name, S_IRUGO | S_IWUSR,
total: 0 errors, 2 warnings, 0 checks, 100 lines checked
More information about the Intel-xe
mailing list