✗ CI.checkpatch: warning for drm/i915/pch: small cleanups, refactors

Patchwork patchwork at emeril.freedesktop.org
Fri Feb 7 11:37:01 UTC 2025


== Series Details ==

Series: drm/i915/pch: small cleanups, refactors
URL   : https://patchwork.freedesktop.org/series/144488/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6dcc443b0414856340620e927b72278886f6e256
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Fri Feb 7 12:17:38 2025 +0200

    drm/i915/pch: Remove unused i915->pch_id
    
    With the PCH checks based on PCH types instead of IDs, the i915->pch_id
    member has become unused. Remove it.
    
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch a05904055d959d068edd472132e9e4939888832d drm-intel
3f483fc593e7 drm/i915/pch: Make LPT LP a dedicated PCH type
-:92: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#92: FILE: drivers/gpu/drm/i915/soc/intel_pch.h:78:
+#define HAS_PCH_LPT(dev_priv)			(INTEL_PCH_TYPE(dev_priv) == PCH_LPT_H || \
+						 INTEL_PCH_TYPE(dev_priv) == PCH_LPT_LP)

total: 0 errors, 0 warnings, 1 checks, 66 lines checked
bf92655e4762 drm/i915/pch: Hide PCH device IDs
6dcc443b0414 drm/i915/pch: Remove unused i915->pch_id




More information about the Intel-xe mailing list