✗ CI.checkpatch: warning for series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()
Patchwork
patchwork at emeril.freedesktop.org
Wed Jun 5 02:41:54 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/134445/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f73c7be57b9affefd42961c6877dad395e4c6ce4
Author: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Date: Sun Jun 2 18:57:12 2024 +0300
treewide: Align match_string() with sysfs_match_string()
Make two APIs look similar. Hence convert match_string() to be
a 2-argument macro. In order to avoid unneeded churn, convert
all users as well. There is no functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas at google.com> # drivers/pci/
Acked-by: Damien Le Moal <dlemoal at kernel.org> # drivers/ata/
Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com> # fs/ubifs
Acked-by: Daniel Bristot de Oliveira <bristot at kernel.org>
+ /mt/dim checkpatch 596cf447db94909c4788fd612876520531e439b0 drm-intel
f73c7be57b9a treewide: Align match_string() with sysfs_match_string()
-:26: WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#26: FILE: arch/powerpc/xmon/xmon.c:3481:
+static const char *regnames[] = {
-:1168: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_a' - possible side-effects?
#1168: 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-xe
mailing list