✗ CI.checkpatch: warning for drm/xe/ads: Use flexible-array
Patchwork
patchwork at emeril.freedesktop.org
Mon May 6 18:08:26 UTC 2024
== Series Details ==
Series: drm/xe/ads: Use flexible-array
URL : https://patchwork.freedesktop.org/series/133240/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
0daf0be5bb95eb0a0e42275e00a0e42d8d8fd543
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ce4d7629d790e9740010d032277433fec1671b1a
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date: Mon May 6 07:19:17 2024 -0700
drm/xe/ads: Use flexible-array
Zero-length arrays are deprecated and flexible arrays should be used
instead: https://www.kernel.org/doc/html/v6.9-rc7/process/deprecated.html#zero-length-and-one-element-arrays
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Julia Lawall <julia.lawall at inria.fr>
Closes: https://lore.kernel.org/r/202405051824.AmjAI5Pg-lkp@intel.com/
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Matthew Brost <matthew.brost at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 47082f3bfe201756960b6ac0e0af31495d9a53f5 drm-intel
ce4d7629d790 drm/xe/ads: Use flexible-array
-:7: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#7:
instead: https://www.kernel.org/doc/html/v6.9-rc7/process/deprecated.html#zero-length-and-one-element-arrays
-:7: WARNING:COMMIT_LOG_USE_LINK: Unknown link reference 'instead:', use 'Link:' or 'Closes:' instead
#7:
instead: https://www.kernel.org/doc/html/v6.9-rc7/process/deprecated.html#zero-length-and-one-element-arrays
-:9: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#9:
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Julia Lawall <julia.lawall at inria.fr>
total: 0 errors, 3 warnings, 0 checks, 8 lines checked
More information about the Intel-xe
mailing list