[RFC PATCH] cifs: sanitize_path() can be static
by kernel test robot
fs/cifs/fs_context.c:442:6: warning: symbol 'sanitize_path' was not declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
fs_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/fs_context.c b/fs/cifs/fs_context.c
index 4ce8a7df3a02e5..f3557d24664c13 100644
--- a/fs/cifs/fs_context.c
+++ b/fs/cifs/fs_context.c
@@ -439,7 +439,7 @@ int smb3_parse_opt(const char *options, const char *key, char **val)
* but there are some bugs that prevent rename from working if there are
* multiple delimiters.
*/
-void sanitize_path(char *path) {
+static void sanitize_path(char *path) {
char *pos = path, last = *path;
unsigned int offset = 0;
9 months, 1 week
[xilinx-xlnx:xlnx_rebase_v5.4 908/1768] gadget.c:(.text+0x1278): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
by kernel test robot
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 68a922ded3cde24cb75c0cad0c62403d97ca9aaf [908/1768] usb: dwc3: Add code for supporting entering into D3 state during suspend
config: m68k-randconfig-r014-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151547.E1GVSqKh-lk...)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Xilinx/linux-xlnx/commit/68a922ded3cde24cb75c0cad0c624...
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
git checkout 68a922ded3cde24cb75c0cad0c62403d97ca9aaf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_wakeup_capable':
gadget.c:(.text+0x1260): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
gadget.c:(.text+0x1268): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
gadget.c:(.text+0x1270): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_usb_core_power':
>> gadget.c:(.text+0x1278): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
ep0.c:(.text+0xde2): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
ep0.c:(.text+0xdea): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
ep0.c:(.text+0xdf2): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_usb_core_power':
ep0.c:(.text+0xdfa): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_wakeup_capable':
ulpi.c:(.text+0x2d6): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_simple_data':
ulpi.c:(.text+0x2de): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_check_quirks':
ulpi.c:(.text+0x2e6): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_usb_core_power':
ulpi.c:(.text+0x2ee): multiple definition of `dwc3_set_usb_core_power'; drivers/usb/dwc3/core.o:core.c:(.text+0x1102): first defined here
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[chrome-os:chromeos-5.15 1859/2051] scripts/Makefile.clean:15: drivers/gpu/arm/bifrost/arbitration/Makefile: No such file or directory
by kernel test robot
Hi Fei,
First bad commit (maybe != root cause):
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head: b4c97de985b1ab07e191bd42d850e521b38ff00b
commit: 47053c9ca1fca9a873ad8981b4e7115d40ed9d03 [1859/2051] CHROMIUM: Mali: Build Mali Bifrost
config: powerpc64-randconfig-r012-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151507.MmMFkgk1-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dd245bab9fbb364faa1581e4f92ba3119a872fba)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.15
git checkout 47053c9ca1fca9a873ad8981b4e7115d40ed9d03
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc distclean
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> scripts/Makefile.clean:15: drivers/gpu/arm/bifrost/arbitration/Makefile: No such file or directory
>> make[6]: *** No rule to make target 'drivers/gpu/arm/bifrost/arbitration/Makefile'.
make[6]: Failed to remake makefile 'drivers/gpu/arm/bifrost/arbitration/Makefile'.
make[5]: *** [scripts/Makefile.clean:68: drivers/gpu/arm/bifrost/arbitration] Error 2
make[5]: Target '__clean' not remade because of errors.
make[4]: *** [scripts/Makefile.clean:68: drivers/gpu/arm/bifrost] Error 2
make[4]: Target '__clean' not remade because of errors.
make[3]: *** [scripts/Makefile.clean:68: drivers/gpu/arm] Error 2
make[3]: Target '__clean' not remade because of errors.
make[2]: *** [scripts/Makefile.clean:68: drivers/gpu] Error 2
make[2]: Target '__clean' not remade because of errors.
make[1]: *** [Makefile:1875: _clean_drivers] Error 2
make[1]: Target 'distclean' not remade because of errors.
make: *** [Makefile:219: __sub-make] Error 2
make: Target 'distclean' not remade because of errors.
vim +15 scripts/Makefile.clean
2315c6e4227815 Sam Ravnborg 2005-07-25 12
2a691470345a00 Sam Ravnborg 2005-07-25 13 # The filename Kbuild has precedence over Makefile
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 14 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
db8c1a7b2ca25f Sam Ravnborg 2005-07-27 @15 include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
^1da177e4c3f41 Linus Torvalds 2005-04-16 16
:::::: The code at line 15 was first introduced by commit
:::::: db8c1a7b2ca25f37b1429c00e82d6568f86caec1 kbuild: fix building external modules
:::::: TO: Sam Ravnborg <sam(a)mars.(none)>
:::::: CC: Sam Ravnborg <sam(a)mars.(none)>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[chrome-os:chromeos-5.10 9186/9999] spmi-mtk-pmif.c:undefined reference to `devm_platform_ioremap_resource_byname'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: 33eabe5563e3da4fd43878667cee1d3308d22b50
commit: 3795145b0384d3d3dad24f99224607eac72dad60 [9186/9999] FROMLIST: spmi: mediatek: Add support for MT6873/8192
config: s390-randconfig-r044-20211215 (https://download.01.org/0day-ci/archive/20211215/202112151524.OOR5DNLR-lk...)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 3795145b0384d3d3dad24f99224607eac72dad60
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.text+0x4c): undefined reference to `of_iomap'
s390-linux-ld: clk-fixed-mmio.c:(.text+0xfc): undefined reference to `iounmap'
s390-linux-ld: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.o: in function `dw_probe':
dw-axi-dmac-platform.c:(.text+0x2acc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/fsl-edma.o: in function `fsl_edma_probe':
fsl-edma.c:(.text+0x2176): undefined reference to `devm_ioremap_resource'
s390-linux-ld: fsl-edma.c:(.text+0x2506): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0x2bcc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hidma.c:(.text+0x2cb0): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x36c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/spmi/spmi-mtk-pmif.o: in function `mtk_spmi_probe':
>> spmi-mtk-pmif.c:(.text+0x356): undefined reference to `devm_platform_ioremap_resource_byname'
>> s390-linux-ld: spmi-mtk-pmif.c:(.text+0x40e): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x1b30): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x1ba6): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x1c86): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x1cce): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x3552): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x77e): undefined reference to `devm_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[xilinx-xlnx:xlnx_rebase_v5.4 906/1768] gadget.c:(.text+0x1260): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
by kernel test robot
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: abafefebd1f1e040eef74e4ab571ea08bf745641
commit: 782658c51bbcd85a39a5d9a51b57224f185d7670 [906/1768] usb: dwc3: Correct errors when dwc3 loaded as module
config: m68k-randconfig-r014-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151344.fBoLSAn4-lk...)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Xilinx/linux-xlnx/commit/782658c51bbcd85a39a5d9a51b572...
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.4
git checkout 782658c51bbcd85a39a5d9a51b57224f185d7670
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_wakeup_capable':
gadget.c:(.text+0x1250): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_set_simple_data':
gadget.c:(.text+0x1258): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/gadget.o: in function `dwc3_simple_check_quirks':
>> gadget.c:(.text+0x1260): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_wakeup_capable':
ep0.c:(.text+0xde2): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_set_simple_data':
ep0.c:(.text+0xdea): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/ep0.o: in function `dwc3_simple_check_quirks':
ep0.c:(.text+0xdf2): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_wakeup_capable':
ulpi.c:(.text+0x2d6): multiple definition of `dwc3_simple_wakeup_capable'; drivers/usb/dwc3/core.o:core.c:(.text+0x10ea): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_set_simple_data':
ulpi.c:(.text+0x2de): multiple definition of `dwc3_set_simple_data'; drivers/usb/dwc3/core.o:core.c:(.text+0x10f2): first defined here
m68k-linux-ld: drivers/usb/dwc3/ulpi.o: in function `dwc3_simple_check_quirks':
ulpi.c:(.text+0x2e6): multiple definition of `dwc3_simple_check_quirks'; drivers/usb/dwc3/core.o:core.c:(.text+0x10fa): first defined here
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
Re: [PATCH bpf-next v2 4/4] bpf: remove the cgroup -> bpf header dependecy
by kernel test robot
Hi Jakub,
I love your patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Jakub-Kicinski/bpf-remove-the-cg...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: nds32-allnoconfig (https://download.01.org/0day-ci/archive/20211215/202112151324.LTeefTnQ-lk...)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/09a6dd8be59ad147fccc06cec41a89cca...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jakub-Kicinski/bpf-remove-the-cgroup-bpf-header-dependecy/20211215-103243
git checkout 09a6dd8be59ad147fccc06cec41a89cca25fb5da
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/of/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/cgroup-defs.h:22,
from include/linux/cgroup.h:28,
from include/linux/memcontrol.h:13,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from include/linux/regulator/consumer.h:35,
from include/linux/amba/bus.h:19,
from drivers/of/platform.c:14:
>> include/linux/bpf-cgroup.h:6:10: fatal error: linux/bpf-link.h: No such file or directory
6 | #include <linux/bpf-link.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
vim +6 include/linux/bpf-cgroup.h
4
5 #include <linux/bpf-cgroup-types.h>
> 6 #include <linux/bpf-link.h>
7 #include <linux/errno.h>
8 #include <linux/jump_label.h>
9 #include <linux/percpu.h>
10 #include <linux/percpu-refcount.h>
11 #include <linux/rbtree.h>
12 #include <uapi/linux/bpf.h>
13
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[chenxing:msc313_mainlining 53/78] drivers/gpio/gpio-msc313.c:622:23: error: 'SSD20XD_TTL_OFFSET_TTL0' undeclared
by kernel test robot
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: 04c62a6ed8b1b9034464e903809c8b6a9354bf6e
commit: a49bf8bf6981c5b4f5c0dbb89e216ed0537172dc [53/78] gpio: msc313: Add irq support for ssd20xd
config: arm-randconfig-r025-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151308.N8OkCaa1-lk...)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/linux-chenxing/linux/commit/a49bf8bf6981c5b4f5c0dbb89e...
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout a49bf8bf6981c5b4f5c0dbb89e216ed0537172dc
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpio/gpio-msc313.c: In function 'ssd20xd_gpio_child_to_parent_hwirq':
>> drivers/gpio/gpio-msc313.c:622:23: error: 'SSD20XD_TTL_OFFSET_TTL0' undeclared (first use in this function)
622 | if (offset >= SSD20XD_TTL_OFFSET_TTL0 && offset <= SSD20XD_TTL_OFFSET_TTL27){
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-msc313.c:622:23: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpio/gpio-msc313.c:622:60: error: 'SSD20XD_TTL_OFFSET_TTL27' undeclared (first use in this function)
622 | if (offset >= SSD20XD_TTL_OFFSET_TTL0 && offset <= SSD20XD_TTL_OFFSET_TTL27){
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpio/gpio-msc313.c:626:28: error: 'SSD20XD_GPIO_OFF_GPIO0' undeclared (first use in this function); did you mean 'SSD20XD_GPIO_GPIO0'?
626 | else if (offset >= SSD20XD_GPIO_OFF_GPIO0 && offset <= SSD20XD_GPIO_OFF_GPIO14){
| ^~~~~~~~~~~~~~~~~~~~~~
| SSD20XD_GPIO_GPIO0
>> drivers/gpio/gpio-msc313.c:626:64: error: 'SSD20XD_GPIO_OFF_GPIO14' undeclared (first use in this function); did you mean 'SSD20XD_GPIO_GPIO14'?
626 | else if (offset >= SSD20XD_GPIO_OFF_GPIO0 && offset <= SSD20XD_GPIO_OFF_GPIO14){
| ^~~~~~~~~~~~~~~~~~~~~~~
| SSD20XD_GPIO_GPIO14
At top level:
drivers/gpio/gpio-msc313.c:607:12: warning: 'ssd20xd_gpio_child_to_parent_hwirq' defined but not used [-Wunused-function]
607 | static int ssd20xd_gpio_child_to_parent_hwirq(struct gpio_chip *chip,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-msc313.c:584:12: warning: 'msc313e_gpio_child_to_parent_hwirq' defined but not used [-Wunused-function]
584 | static int msc313e_gpio_child_to_parent_hwirq(struct gpio_chip *chip,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-msc313.c:565:14: warning: 'msc313_gpio_populate_parent_fwspec' defined but not used [-Wunused-function]
565 | static void *msc313_gpio_populate_parent_fwspec(struct gpio_chip *gc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
Depends on DMADEVICES && (ARCH_TEGRA || COMPILE_TEST
Selected by
- SOC_TEGRA_FUSE && ARCH_TEGRA && ARCH_TEGRA_2x_SOC
vim +/SSD20XD_TTL_OFFSET_TTL0 +622 drivers/gpio/gpio-msc313.c
606
607 static int ssd20xd_gpio_child_to_parent_hwirq(struct gpio_chip *chip,
608 unsigned int child,
609 unsigned int child_type,
610 unsigned int *parent,
611 unsigned int *parent_type)
612 {
613 struct msc313_gpio *priv = gpiochip_get_data(chip);
614 unsigned int offset = priv->gpio_data->offsets[child];
615
616 *parent_type = child_type;
617
618 /*
619 * On the ssd20xd chips a lot more pins are interrupt enabled but it
620 * still isn't a linear mapping and not all pins are wired up.
621 */
> 622 if (offset >= SSD20XD_TTL_OFFSET_TTL0 && offset <= SSD20XD_TTL_OFFSET_TTL27){
623 *parent = ((offset - SSD20XD_TTL_OFFSET_TTL0) >> 2) + 4;
624 return 0;
625 }
> 626 else if (offset >= SSD20XD_GPIO_OFF_GPIO0 && offset <= SSD20XD_GPIO_OFF_GPIO14){
627 *parent = ((offset - SSD20XD_GPIO_OFF_GPIO0) >> 2) + 45;
628 return 0;
629 }
630 else if (offset >= OFF_FUART_RX && offset <= OFF_FUART_RTS){
631 *parent = ((offset - OFF_FUART_RX) >> 2) + 60;
632 return 0;
633 }
634
635 return -EINVAL;
636 }
637
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[paulmck-rcu:dev.2021.12.09b 35/37] kernel/rcu/tree.c:4072:16: warning: variable 'lseq' set but not used
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.12.09b
head: 0f1825f9df5a83cfeca5f1ecce96633223bf78d2
commit: ca34220fecf856ef7521c912a8812f2c1ea53ab3 [35/37] rcu: Rework rcu_barrier() and callback-migration logic
config: x86_64-randconfig-a011-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151339.x3VR9Ztf-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/com...
git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags paulmck-rcu dev.2021.12.09b
git checkout ca34220fecf856ef7521c912a8812f2c1ea53ab3
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/rcu/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
kernel/rcu/tree.c:1180:19: warning: variable 'rnp' set but not used [-Wunused-but-set-variable]
struct rcu_node *rnp;
^
>> kernel/rcu/tree.c:4072:16: warning: variable 'lseq' set but not used [-Wunused-but-set-variable]
unsigned long lseq;
^
2 warnings generated.
vim +/lseq +4072 kernel/rcu/tree.c
4058
4059 /**
4060 * rcu_barrier - Wait until all in-flight call_rcu() callbacks complete.
4061 *
4062 * Note that this primitive does not necessarily wait for an RCU grace period
4063 * to complete. For example, if there are no RCU callbacks queued anywhere
4064 * in the system, then rcu_barrier() is within its rights to return
4065 * immediately, without waiting for anything, much less an RCU grace period.
4066 */
4067 void rcu_barrier(void)
4068 {
4069 uintptr_t cpu;
4070 unsigned long flags;
4071 unsigned long gseq;
> 4072 unsigned long lseq;
4073 struct rcu_data *rdp;
4074 unsigned long s = rcu_seq_snap(&rcu_state.barrier_sequence);
4075
4076 rcu_barrier_trace(TPS("Begin"), -1, s);
4077
4078 /* Take mutex to serialize concurrent rcu_barrier() requests. */
4079 mutex_lock(&rcu_state.barrier_mutex);
4080
4081 /* Did someone else do our work for us? */
4082 if (rcu_seq_done(&rcu_state.barrier_sequence, s)) {
4083 rcu_barrier_trace(TPS("EarlyExit"), -1, rcu_state.barrier_sequence);
4084 smp_mb(); /* caller's subsequent code after above check. */
4085 mutex_unlock(&rcu_state.barrier_mutex);
4086 return;
4087 }
4088
4089 /* Mark the start of the barrier operation. */
4090 lseq = rcu_state.barrier_sequence;
4091 rcu_seq_start(&rcu_state.barrier_sequence);
4092 gseq = rcu_state.barrier_sequence;
4093 rcu_barrier_trace(TPS("Inc1"), -1, rcu_state.barrier_sequence);
4094
4095 /*
4096 * Initialize the count to two rather than to zero in order
4097 * to avoid a too-soon return to zero in case of an immediate
4098 * invocation of the just-enqueued callback (or preemption of
4099 * this task). Exclude CPU-hotplug operations to ensure that no
4100 * offline non-offloaded CPU has callbacks queued.
4101 */
4102 init_completion(&rcu_state.barrier_completion);
4103 atomic_set(&rcu_state.barrier_cpu_count, 2);
4104 cpus_read_lock();
4105
4106 /*
4107 * Force each CPU with callbacks to register a new callback.
4108 * When that callback is invoked, we will know that all of the
4109 * corresponding CPU's preceding callbacks have been invoked.
4110 */
4111 for_each_possible_cpu(cpu) {
4112 rdp = per_cpu_ptr(&rcu_data, cpu);
4113 retry:
4114 if (READ_ONCE(rdp->barrier_seq_snap) == gseq)
4115 continue;
4116 if (!rcu_segcblist_n_cbs(&rdp->cblist)) {
4117 raw_spin_lock_irqsave(&rdp->barrier_lock, flags);
4118 WRITE_ONCE(rdp->barrier_seq_snap, gseq);
4119 raw_spin_unlock_irqrestore(&rdp->barrier_lock, flags);
4120 rcu_barrier_trace(TPS("NQ"), cpu, rcu_state.barrier_sequence);
4121 continue;
4122 }
4123 if (rcu_rdp_cpu_online(rdp)) {
4124 if (smp_call_function_single(cpu, rcu_barrier_handler, (void *)cpu, 1)) {
4125 schedule_timeout_uninterruptible(1);
4126 goto retry;
4127 }
4128 WARN_ON_ONCE(READ_ONCE(rdp->barrier_seq_snap) != gseq);
4129 rcu_barrier_trace(TPS("OnlineQ"), cpu, rcu_state.barrier_sequence);
4130 continue;
4131 }
4132 if (!rcu_barrier_entrain_if_ofl(rdp)) {
4133 schedule_timeout_uninterruptible(1);
4134 goto retry;
4135 }
4136 WARN_ON_ONCE(READ_ONCE(rdp->barrier_seq_snap) != gseq);
4137 rcu_barrier_trace(TPS("OfflineNoCBQ"), cpu, rcu_state.barrier_sequence);
4138 }
4139 cpus_read_unlock();
4140
4141 /*
4142 * Now that we have an rcu_barrier_callback() callback on each
4143 * CPU, and thus each counted, remove the initial count.
4144 */
4145 if (atomic_sub_and_test(2, &rcu_state.barrier_cpu_count))
4146 complete(&rcu_state.barrier_completion);
4147
4148 /* Wait for all rcu_barrier_callback() callbacks to be invoked. */
4149 wait_for_completion(&rcu_state.barrier_completion);
4150
4151 /* Mark the end of the barrier operation. */
4152 rcu_barrier_trace(TPS("Inc2"), -1, rcu_state.barrier_sequence);
4153 rcu_seq_end(&rcu_state.barrier_sequence);
4154 gseq = rcu_state.barrier_sequence;
4155 for_each_possible_cpu(cpu) {
4156 rdp = per_cpu_ptr(&rcu_data, cpu);
4157
4158 WRITE_ONCE(rdp->barrier_seq_snap, gseq);
4159 }
4160
4161 /* Other rcu_barrier() invocations can now safely proceed. */
4162 mutex_unlock(&rcu_state.barrier_mutex);
4163 }
4164 EXPORT_SYMBOL_GPL(rcu_barrier);
4165
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week