✓ CI.checkpatch: success for drm/xe/hwmon: Update xe hwmon with couple of fixes (rev4)

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 2 19:25:28 UTC 2024


== Series Details ==

Series: drm/xe/hwmon: Update xe hwmon with couple of fixes (rev4)
URL   : https://patchwork.freedesktop.org/series/131765/
State : success

== 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 0fd5c8267b628d0a2cccc9036d9a6b9e0503bc1e
Author: Karthik Poosa <karthik.poosa at intel.com>
Date:   Wed Apr 3 00:57:24 2024 +0530

    drm/xe/hwmon: Update xe hwmon with couple of fixes
    
    Address potential overflows in result of multiplication of two lower
    precision (u32) operands before widening it to higher precision (u64).
    
    Initialize variables which were being used uninitialized.
    
    v2:
     - Rebase.
     - In xe_hwmon_process_reg, set argument 'value' to 0 on failure.
       With this change caller function need not initialize value to 0.
    
    v3:
     - Update commit msg as per review comments (Rodrigo, Lucas).
     - Update xe_hwmon_get_reg. Return bool from xe_hwmon_get_reg
       and output xe_reg. This is to have abstracted usage of xe_reg. (Lucas)
    
    v4:
     - Fix return of true for unsupported registers also in xe_hwmon_get_reg.
       Return false for those.
    
    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>
+ /mt/dim checkpatch 817f62236d84505e987511af22a06bb051755029 drm-intel
0fd5c8267b62 drm/xe/hwmon: Update xe hwmon with couple of fixes




More information about the Intel-xe mailing list