✗ CI.checkpatch: warning for series starting with [1/6] drm/tests/drm_buddy: fix 32b build

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 15 17:55:12 UTC 2024


== Series Details ==

Series: series starting with [1/6] drm/tests/drm_buddy: fix 32b build
URL   : https://patchwork.freedesktop.org/series/129959/
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
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6c9220b2126e607c1db7fb421beedef489a1e3ed
Author: Matthew Auld <matthew.auld at intel.com>
Date:   Thu Feb 15 17:44:37 2024 +0000

    drm/xe/stolen: ignore first page for FBC
    
    Seems like we can potentially hit underruns if the CFB offset is within
    the first page of stolen. Just like i915 skip the first page.
    
    BSpec: 50214
    Reported-by: Matt Roper <matthew.d.roper at intel.com>
    Signed-off-by: Matthew Auld <matthew.auld at intel.com>
+ /mt/dim checkpatch 6d3abf8f7f55420cf53e9ed344872c459ecfd0ed drm-intel
dcf6e94b2 drm/tests/drm_buddy: fix 32b build
-:13: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'a64056bb5a32', maybe rebased or not pulled?
#13: 
Fixes: a64056bb5a32 ("drm/tests/drm_buddy: add alloc_contiguous test")

-:14: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#14: 
Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Matthew Auld <matthew.auld at intel.com>

total: 0 errors, 2 warnings, 0 checks, 58 lines checked
ced6d65ea drm/buddy: fix range bias
-:17: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'afea229fe102', maybe rebased or not pulled?
#17: 
Fixes: afea229fe102 ("drm: improve drm_buddy_alloc function")

total: 0 errors, 1 warnings, 0 checks, 22 lines checked
f3a83c419 drm/buddy: check range allocation matches alignment
25157ea52 drm/tests/drm_buddy: add alloc_range_bias test
-:33: WARNING:LINE_SPACING: Missing a blank line after declarations
#33: FILE: drivers/gpu/drm/tests/drm_buddy_test.c:27:
+	u32 mm_size, ps, bias_size, bias_start, bias_end, bias_rem;
+	DRM_RND_STATE(prng, random_seed);

-:41: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#41: FILE: drivers/gpu/drm/tests/drm_buddy_test.c:35:
+	mm_size = (SZ_8M-1) & ~(ps-1); /* Multiple roots */
 	                ^

-:41: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#41: FILE: drivers/gpu/drm/tests/drm_buddy_test.c:35:
+	mm_size = (SZ_8M-1) & ~(ps-1); /* Multiple roots */
 	                          ^

-:102: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#102: FILE: drivers/gpu/drm/tests/drm_buddy_test.c:96:
+				      bias_start + ps, bias_end - ps, bias_size >> 1, bias_size >> 1);

-:212: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#212: FILE: drivers/gpu/drm/tests/drm_buddy_test.c:206:
+				bias_end += round_up(prandom_u32_state(&prng) % (mm_size - bias_end), ps);

total: 0 errors, 3 warnings, 2 checks, 246 lines checked
8a21ade8c drm/xe/stolen: lower the default alignment
6c9220b21 drm/xe/stolen: ignore first page for FBC
-:10: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#10: 
Reported-by: Matt Roper <matthew.d.roper at intel.com>
Signed-off-by: Matthew Auld <matthew.auld at intel.com>

total: 0 errors, 1 warnings, 0 checks, 9 lines checked




More information about the Intel-xe mailing list