✗ CI.checkpatch: warning for drm/xe/oa/uapi: Make bit masks unsigned

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 29 09:43:31 UTC 2024


== Series Details ==

Series: drm/xe/oa/uapi: Make bit masks unsigned
URL   : https://patchwork.freedesktop.org/series/136608/
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
5ce3e132caaa5b45e5e50201b574a097d130967c
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d307af8cc23041553434841f6961954b9c581dc0
Author: Geert Uytterhoeven <geert+renesas at glider.be>
Date:   Mon Jul 29 11:26:34 2024 +0200

    drm/xe/oa/uapi: Make bit masks unsigned
    
    When building with gcc-5:
    
        In function ‘decode_oa_format.isra.26’,
            inlined from ‘xe_oa_set_prop_oa_format’ at drivers/gpu/drm/xe/xe_oa.c:1664:6:
        ././include/linux/compiler_types.h:510:38: error: call to ‘__compiletime_assert_1336’ declared with attribute error: FIELD_GET: mask is not constant
        [...]
        ./include/linux/bitfield.h:155:3: note: in expansion of macro ‘__BF_FIELD_CHECK’
           __BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \
           ^
        drivers/gpu/drm/xe/xe_oa.c:1573:18: note: in expansion of macro ‘FIELD_GET’
          u32 bc_report = FIELD_GET(DRM_XE_OA_FORMAT_MASK_BC_REPORT, fmt);
                          ^
    
    Fixes: b6fd51c6211910b1 ("drm/xe/oa/uapi: Define and parse OA stream properties")
    Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
+ /mt/dim checkpatch 6f226dd91cbd83b14b375dac4246f617f0b98288 drm-intel
d307af8cc230 drm/xe/oa/uapi: Make bit masks unsigned
-:12: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#12: 
	inlined from ‘xe_oa_set_prop_oa_format’ at drivers/gpu/drm/xe/xe_oa.c:1664:6:

-:22: WARNING:BAD_FIXES_TAG: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")' - ie: 'Fixes: b6fd51c62119 ("drm/xe/oa/uapi: Define and parse OA stream properties")'
#22: 
Fixes: b6fd51c6211910b1 ("drm/xe/oa/uapi: Define and parse OA stream properties")

total: 0 errors, 2 warnings, 0 checks, 14 lines checked




More information about the Intel-xe mailing list