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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== 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





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux