[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add support for LMEM PCIe resizable bar

Patchwork patchwork at emeril.freedesktop.org
Wed Jun 15 09:26:51 UTC 2022


== Series Details ==

Series: Add support for LMEM PCIe resizable bar
URL   : https://patchwork.freedesktop.org/series/105142/
State : warning

== Summary ==

Error: dim checkpatch failed
a4fabe36823d drm/i915: Add support for LMEM PCIe resizable bar
-:110: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#110: FILE: drivers/gpu/drm/i915/i915_driver.c:383:
+		if (root_res &&
+				root_res->flags & (IORESOURCE_MEM | IORESOURCE_MEM_64) &&

-:118: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#118: FILE: drivers/gpu/drm/i915/i915_driver.c:391:
+		drm_info(&i915->drm,
+				"Can't resize LMEM BAR - platform support is missing\n");

total: 0 errors, 0 warnings, 2 checks, 115 lines checked
17bbf04fb92b drm/i915: Add lmem_bar_size modparam
-:36: CHECK:BRACES: braces {} should be used on all arms of this statement
#36: FILE: drivers/gpu/drm/i915/i915_driver.c:374:
+	if (i915->params.lmem_bar_size > 0) {
[...]
+	} else if (!rebar_size)
[...]

-:52: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#52: FILE: drivers/gpu/drm/i915/i915_driver.c:390:
+					rebar_size = 1ULL << (__fls(lmem_bar_size) + BAR_SIZE_SHIFT);

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




More information about the Intel-gfx mailing list