✓ CI.checkpatch: success for drm/xe: Explicitly cast to u64 to avoid overflow (rev2)

Patchwork patchwork at emeril.freedesktop.org
Fri Jun 14 07:29:12 UTC 2024


== Series Details ==

Series: drm/xe: Explicitly cast to u64 to avoid overflow (rev2)
URL   : https://patchwork.freedesktop.org/series/134869/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 94f43eeec24c07bb7154ba507762e25d6fbce14e
Author: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Date:   Fri Jun 14 08:24:15 2024 +0200

    drm/xe: Explicitly cast to u64 to avoid overflow
    
    Without casting whole expression will be calculated on u32 what
    means adding U32_MAX effectively decreases the result by one due to
    overflow. Fix this and use explicit cast to u64.
    
    Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 2749e3ede81bebc181cc2271e01d2b15c41aba83 drm-intel
94f43eeec24c drm/xe: Explicitly cast to u64 to avoid overflow




More information about the Intel-xe mailing list