✗ Fi.CI.CHECKPATCH: warning for series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 4 16:47:37 UTC 2024


== Series Details ==

Series: series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()
URL   : https://patchwork.freedesktop.org/series/134452/
State : warning

== Summary ==

Error: dim checkpatch failed
0fb53c53e046 treewide: Align match_string() with sysfs_match_string()
-:23: WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#23: FILE: arch/powerpc/xmon/xmon.c:3481:
+static const char *regnames[] = {

-:1165: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_a' - possible side-effects?
#1165: FILE: include/linux/string.h:315:
+#define match_string(_a, _s) __match_string(_a, ARRAY_SIZE(_a), _s)

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




More information about the Intel-gfx mailing list