[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for GuC HWCONFIG with documentation (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue Feb 8 11:53:08 UTC 2022


== Series Details ==

Series: GuC HWCONFIG with documentation (rev2)
URL   : https://patchwork.freedesktop.org/series/99787/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
0d55eb6c8da5 drm/i915/guc: Add fetch of hwconfig table
-:78: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#78: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 227 lines checked
a35c6a38af41 drm/i915/uapi: Add query for hwconfig blob
74d623c301f6 drm/i915/uapi: Add struct drm_i915_query_hwconfig_blob_item
106e8c86e1d3 drm/i915/guc: Verify hwconfig blob matches supported format
-:30: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!hwconfig->ptr"
#30: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:79:
+	if (hwconfig->size % 4 != 0 || hwconfig->ptr == NULL)

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




More information about the Intel-gfx mailing list