[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Sanity Check for device memory region (rev3)

Patchwork patchwork at emeril.freedesktop.org
Wed Dec 8 19:59:58 UTC 2021


== Series Details ==

Series: drm/i915: Sanity Check for device memory region (rev3)
URL   : https://patchwork.freedesktop.org/series/97715/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d2fc59f489d3 drm/i915: Exclude reserved stolen from driver use
4e5c58d3e7b8 drm/i915: Sanitycheck device iomem on probe
-:74: 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'.
#74: 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, 142 lines checked
847dd837ca68 drm/i915: Test all device memory on probing
-:30: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#30: 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, 79 lines checked




More information about the Intel-gfx mailing list