[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Use scnprintf() for avoiding potential buffer overflow

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 11 07:55:47 UTC 2020


== Series Details ==

Series: drm/i915/gt: Use scnprintf() for avoiding potential buffer overflow
URL   : https://patchwork.freedesktop.org/series/74562/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
00261fad413a drm/i915/gt: Use scnprintf() for avoiding potential buffer overflow
-:23: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#23: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:1385:
+			len = scnprintf(hdr, sizeof(hdr),
 				       "\t\tActive[%d]: ",

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



More information about the Intel-gfx mailing list