✗ CI.checkpatch: warning for drm/i915: use drm->debugfs_root when creating debugfs files
Patchwork
patchwork at emeril.freedesktop.org
Wed Jun 11 15:41:03 UTC 2025
== Series Details ==
Series: drm/i915: use drm->debugfs_root when creating debugfs files
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4cf6797905375910cc7454cbe94fd9aa84a667b5
Author: Jani Nikula <jani.nikula at intel.com>
Date: Wed Jun 11 17:51:16 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 f57bafbaa0afbf3d806650a26740caf623e7ca51 drm-intel
68129305c749 drm/i915/display: use drm->debugfs_root for creating debugfs files
d1df49e931a7 drm/i915/gvt: use drm->debugfs_root for creating debugfs files
4cf679790537 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