✗ CI.checkpatch: warning for drm/xe/hwmon: Update xe hwmon with couple of fixes (rev7)

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 5 14:20:32 UTC 2024


== Series Details ==

Series: drm/xe/hwmon: Update xe hwmon with couple of fixes (rev7)
URL   : https://patchwork.freedesktop.org/series/131765/
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4d5d019e595d714003af4c0e17df84a68555c4a4
Author: Karthik Poosa <karthik.poosa at intel.com>
Date:   Fri Apr 5 18:31:27 2024 +0530

    drm/xe/hwmon: Cast result to output precision on left shift of operand
    
    Address potential overflow in result of left shift of a
    lower precision (u32) operand before assignment to higher
    precision (u64) variable.
    
    v2:
     - Update commit message. (Himal)
    
    Fixes: 4446fcf220ce ("drm/xe/hwmon: Expose power1_max_interval")
    Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
    Reviewed-by: Anshuman Gupta <anshuman.gupta at intel.com>
    Cc: Badal Nilawar <badal.nilawar at intel.com>
+ /mt/dim checkpatch 5714711c6612120bd9c306824ec807d322c0735b drm-intel
acf01b7e8944 drm/xe: Define xe_reg_is_valid
6ed6f15c8146 drm/xe/hwmon: Update xe_hwmon_get_reg to return struct xe_reg
a276b66a6318 drm/xe/hwmon: Update xe_hwmon_process_reg
-:34: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#34: FILE: drivers/gpu/drm/xe/xe_hwmon.c:125:
+static u64 xe_hwmon_process_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg,
+				 enum xe_hwmon_reg_operation operation,

total: 0 errors, 0 warnings, 1 checks, 135 lines checked
4d5d019e595d drm/xe/hwmon: Cast result to output precision on left shift of operand




More information about the Intel-xe mailing list