[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Sanity Check for device memory region

Patchwork patchwork at emeril.freedesktop.org
Tue Dec 7 14:48:46 UTC 2021


== Series Details ==

Series: Sanity Check for device memory region
URL   : https://patchwork.freedesktop.org/series/97658/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
1524de208313 drm/i915: Sanitycheck device iomem on probe
-:69: WARNING:VSPRINTF_SPECIFIER_PX: Using vsprintf specifier '%px' potentially exposes the kernel memory layout, if you don't really need the address please consider using '%p'.
#69: FILE: drivers/gpu/drm/i915/intel_memory_region.c:70:
+		dev_err(mem->i915->drm.dev,
+			"Failed to ioremap memory region [%pa + %px] for %ps\n",
+			&mem->io_start, &offset, caller);

total: 0 errors, 1 warnings, 0 checks, 124 lines checked
09f5557867ee drm/i915: Test all device memory on probing
-:27: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#27: FILE: drivers/gpu/drm/i915/i915_params.c:144:
+i915_param_named(memtest, bool, 0400,
+	"Perform a read/write test of all device memory on module load (default: off)");

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




More information about the Intel-gfx mailing list