Re: [PATCH v1 2/2] iio: accel: Add driver support for ADXL355
by kernel test robot
Hi Puranjay,
I love your patch! Yet something to improve:
[auto build test ERROR on iio/togreg]
[also build test ERROR on robh/for-next linus/master v5.14-rc2 next-20210721]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Puranjay-Mohan/iio-accel-add-sup...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.3.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/1abb9f2f7fa2b5ed06f84a705806b1b90...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Puranjay-Mohan/iio-accel-add-support-for-ADXL355/20210721-180632
git checkout 1abb9f2f7fa2b5ed06f84a705806b1b907532bfa
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/iio/accel/
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/iio/accel/adxl355_core.c:19:34: error: static declaration of 'adxl355_read_reg_range' follows non-static declaration
19 | static const struct regmap_range adxl355_read_reg_range[] = {
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/iio/accel/adxl355_core.c:17:
drivers/iio/accel/adxl355.h:73:34: note: previous declaration of 'adxl355_read_reg_range' was here
73 | extern const struct regmap_range adxl355_read_reg_range[];
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/accel/adxl355_core.c:30:34: error: static declaration of 'adxl355_write_reg_range' follows non-static declaration
30 | static const struct regmap_range adxl355_write_reg_range[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/iio/accel/adxl355_core.c:17:
drivers/iio/accel/adxl355.h:77:34: note: previous declaration of 'adxl355_write_reg_range' was here
77 | extern const struct regmap_range adxl355_write_reg_range[];
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/adxl355_read_reg_range +19 drivers/iio/accel/adxl355_core.c
18
> 19 static const struct regmap_range adxl355_read_reg_range[] = {
20 regmap_reg_range(ADXL355_DEVID_AD, ADXL355_FIFO_DATA),
21 regmap_reg_range(ADXL355_OFFSET_X_H, ADXL355_SELF_TEST)
22 };
23
24 const struct regmap_access_table adxl355_readable_regs_tbl = {
25 .yes_ranges = adxl355_read_reg_range,
26 .n_yes_ranges = ARRAY_SIZE(adxl355_read_reg_range),
27 };
28 EXPORT_SYMBOL_GPL(adxl355_readable_regs_tbl);
29
> 30 static const struct regmap_range adxl355_write_reg_range[] = {
31 regmap_reg_range(ADXL355_OFFSET_X_H, ADXL355_RESET)
32 };
33
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[xlnx:xlnx_rebase_v5.4 478/1765] drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384'
by kernel test robot
Hi Vishal,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 2f686fa6c0bf7fa168dc45dd7ce1359217212911
commit: 8caa8fb47aa0429f2a25100cf4f957463ba00801 [478/1765] v4l: xilinx: xcsi2rxss: Add support for clock framework
config: i386-randconfig-a005-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://github.com/Xilinx/linux-xlnx/commit/8caa8fb47aa0429f2a25100cf4f95...
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.4
git checkout 8caa8fb47aa0429f2a25100cf4f957463ba00801
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
drivers/media/platform/xilinx/xilinx-csi2rxss.c: In function 'xcsi2rxss_probe':
>> drivers/media/platform/xilinx/xilinx-csi2rxss.c:326:27: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '200000000000' to '2431504384' [-Woverflow]
326 | #define XCSI_DPHY_CLK_REQ 200000000000UL
| ^~~~~~~~~~~~~~
drivers/media/platform/xilinx/xilinx-csi2rxss.c:1819:8: note: in expansion of macro 'XCSI_DPHY_CLK_REQ'
1819 | XCSI_DPHY_CLK_REQ);
| ^~~~~~~~~~~~~~~~~
drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:12: warning: comparison is always true due to limited range of data type [-Wtype-limits]
1828 | if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
| ^
drivers/media/platform/xilinx/xilinx-csi2rxss.c:1828:40: warning: comparison is always false due to limited range of data type [-Wtype-limits]
1828 | if (rate < XCSI_DPHY_CLK_MIN && rate > XCSI_DPHY_CLK_MAX) {
| ^
vim +326 drivers/media/platform/xilinx/xilinx-csi2rxss.c
323
324 #define XCSI_DPHY_CLK_MIN 197000000000UL
325 #define XCSI_DPHY_CLK_MAX 203000000000UL
> 326 #define XCSI_DPHY_CLK_REQ 200000000000UL
327
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[linux-chenxing:mstar_v5_14_rebase 174/352] arch/arm/mach-mstar/suspend-msc313.S:149: Error: selected processor does not support `movw r7,#(1<<(4))' in ARM mode
by kernel test robot
tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head: 651efd0e52f225e60faa8b30f9768021e2104d3c
commit: c1569e4f0b838c4a36a86a3ba7695da03b107ba2 [174/352] ARM: mstar: PM
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.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/c1569e4f0b838c4a36a86a3ba7...
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing mstar_v5_14_rebase
git checkout c1569e4f0b838c4a36a86a3ba7695da03b107ba2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
>> arch/arm/mach-mstar/pm.c:83:12: warning: no previous prototype for 'msc313_pm_init' [-Wmissing-prototypes]
83 | int __init msc313_pm_init(void)
| ^~~~~~~~~~~~~~
arch/arm/mach-mstar/pm.c: In function 'msc313_pm_init':
arch/arm/mach-mstar/pm.c:152:1: warning: label 'put_node' defined but not used [-Wunused-label]
152 | put_node:
| ^~~~~~~~
arch/arm/mach-mstar/pm.c:89:16: warning: unused variable 'imi_base' [-Wunused-variable]
89 | void __iomem *imi_base;
| ^~~~~~~~
arch/arm/mach-mstar/pm.c:88:19: warning: unused variable 'imi_pool' [-Wunused-variable]
88 | struct gen_pool *imi_pool;
| ^~~~~~~~
arch/arm/mach-mstar/pm.c:87:26: warning: unused variable 'pdev' [-Wunused-variable]
87 | struct platform_device *pdev;
| ^~~~
--
arch/arm/mach-mstar/suspend-msc313.S: Assembler messages:
>> arch/arm/mach-mstar/suspend-msc313.S:149: Error: selected processor does not support `movw r7,#(1<<(4))' in ARM mode
>> arch/arm/mach-mstar/suspend-msc313.S:153: Error: selected processor does not support `movw r7,#(1<<(11))|(1<<(10))|(1<<(9))|(1<<(8))|(1<<(0))' in ARM mode
>> arch/arm/mach-mstar/suspend-msc313.S:164: Error: selected processor does not support `movw r7,#(1<<(10))|(1<<(8))' in ARM mode
arch/arm/mach-mstar/suspend-msc313.S:172: Error: selected processor does not support `movw r7,#(1<<(9))|(1<<(8))' in ARM mode
vim +149 arch/arm/mach-mstar/suspend-msc313.S
123
124 //This must run in SRAM
125 ENTRY(msc313_suspend_imi)
126 // setup r1 to point to the pm_uart
127 ldr r1, [r0, PMINFO_BANK_UART]
128
129 // First block all access except one in group 0, cpu?
130 // miu-2
131 setbank PMINFO_BANK_MIU_DIG
132 setword_defuq MIU_DIG_GROUP0_REQ_MASK, 0xfffe
133 setword_defuq MIU_DIG_GROUP1_REQ_MASK, 0xffff
134 setword_defuq MIU_DIG_GROUP2_REQ_MASK, 0xffff
135 setword_defuq MIU_DIG_GROUP3_REQ_MASK, 0xffff
136 // miu-1
137 setbank PMINFO_BANK_MIU_DIG1
138 setword 0x06, 0xffff
139 setword 0x26, 0xffff
140 // wait for everything to finish
141 delay
142
143 // miu-2
144 setbank PMINFO_BANK_MIU_DIG
145 // single command mode register
146 setword_defuq MIU_DIG_MRX, 0x0400
147 // turn off auto refresh and ODT
148 setbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_REFRESH_OFF
> 149 clearbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_ODT
150
151 // trigger all banks precharge to put the ddr2 back into idle
152 // clear command and auto init
> 153 clearbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_RAS | \
154 MIU_DIG_CNTRL0_CMD_CAS | \
155 MIU_DIG_CNTRL0_CMD_WE | \
156 MIU_DIG_CNTRL0_CMD_ISSUE | \
157 MIU_DIG_CNTRL0_INIT_MIU
158 // cas high trigger command
159 setbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_CAS | \
160 MIU_DIG_CNTRL0_CMD_ISSUE
161 // wait for command to complete
162 pollbit MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_DONE
163 // clear command issue and casz
> 164 clearbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_CAS | \
165 MIU_DIG_CNTRL0_CMD_ISSUE
166 // we# high
167 setbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_WE | \
168 MIU_DIG_CNTRL0_CMD_ISSUE
169 // wait for command to complete
170 pollbit MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_DONE
171 // clear command issue and we
172 clearbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_CMD_WE | \
173 MIU_DIG_CNTRL0_CMD_ISSUE
174 // mask all requests
175 setword_defuq MIU_DIG_GROUP0_REQ_MASK, 0xffff
176 // set self refresh
177 setbits MIU_DIG_CNTRL0, MIU_DIG_CNTRL0_SELF_REFRESH
178
179 // Now that the DDR is doing it's own thing disable
180 // power everything down to save energy
181
182 // miu-2
183 setbank 0x10
184 setbits 0x04, 0xf000 // mclk delay etc
185 // miu-0
186 setbank PMINFO_BANK_MIU_ANA
187 setbits 0x00, 0x0018 // set gpio mode, output highz
188 setword 0x54, 0xc070 // unknown
189 setword 0x08, 0x0000 // clear rx en
190
191 // not sure what this does. causes the cpu to lock up though
192 //wriu 0x3c24 0x30 //reg_pwoff_rst0_en, reg_pwoff_rst1_en
193 //ldr r4, =0x1f007800
194 //setbyte 0x24 0x30
195
196 // Unlock the power down stuff
197 setbank 0x0
198 setbyte 0x38, 0x0c
199 setword 0x24, 0xbabe
200 setbyte 0x6e, 0xa5 //commented out in new sdk
201
202 // Finally set pm_gpio4 to turn the lights off
203 setbank 0x4
204 setbyte 0x08, 0x10
205
206 putch '!'
207 newline
208
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH] dt-bindings: mtd: spi-nand: Convert to DT schema format
by kernel test robot
Hi Apurva,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mtd/mtd/next]
[also build test WARNING on mtd/mtd/fixes robh/for-next v5.14-rc2 next-20210720]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Apurva-Nandan/dt-bindings-mtd-sp...
base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0
reproduce: make ARCH=arm dtbs_check
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
dtcheck warnings: (new ones prefixed by >>)
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml: clock-controller@1800000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/rng@22000: failed to match any schema with compatible: ['qcom,prng']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/pinctrl@1000000: failed to match any schema with compatible: ['qcom,ipq4019-pinctrl']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml: usb-power: $nodename:0: 'usb-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-hog.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/sdhci@7824900: failed to match any schema with compatible: ['qcom,sdhci-msm-v4']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/dma@7884000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/spi@78b5000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
>> arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml: nand@1: $nodename:0: 'nand@1' does not match '^flash(@.*)?$'
From schema: Documentation/devicetree/bindings/mtd/spi-nand.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/spi@78b6000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/i2c@78b7000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/i2c@78b8000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/dma@8e04000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/crypto@8e3a000: failed to match any schema with compatible: ['qcom,crypto-v5.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/clock-controller@b088000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/clock-controller@b098000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/clock-controller@b0a8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dt.yaml:0:0: /soc/clock-controller@b0b8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
--
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml: clock-controller@1800000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/rng@22000: failed to match any schema with compatible: ['qcom,prng']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/pinctrl@1000000: failed to match any schema with compatible: ['qcom,ipq4019-pinctrl']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml: usb-power: $nodename:0: 'usb-power' does not match '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$'
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/gpio/gpio-hog.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/sdhci@7824900: failed to match any schema with compatible: ['qcom,sdhci-msm-v4']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/dma@7884000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/spi@78b5000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
>> arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml: nand@1: $nodename:0: 'nand@1' does not match '^flash(@.*)?$'
From schema: Documentation/devicetree/bindings/mtd/spi-nand.yaml
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/spi@78b6000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/i2c@78b7000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/i2c@78b8000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/dma@8e04000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/crypto@8e3a000: failed to match any schema with compatible: ['qcom,crypto-v5.1']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/clock-controller@b088000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/clock-controller@b098000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/clock-controller@b0a8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dt.yaml:0:0: /soc/clock-controller@b0b8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
--
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/reg.yaml
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml: soc: pci@40000000:reg:0: [1073741824, 3869, 1073745696, 168, 524288, 8192, 1074790400, 4096] is too long
From schema: /usr/local/lib/python3.9/dist-packages/dtschema/schemas/simple-bus.yaml
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml: clock-controller@1800000: '#power-domain-cells' is a required property
From schema: Documentation/devicetree/bindings/clock/qcom,gcc.yaml
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/rng@22000: failed to match any schema with compatible: ['qcom,prng']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/pinctrl@1000000: failed to match any schema with compatible: ['qcom,ipq4019-pinctrl']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/sdhci@7824900: failed to match any schema with compatible: ['qcom,sdhci-msm-v4']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/dma@7884000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/spi@78b5000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
>> arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml: spi-nand@1: $nodename:0: 'spi-nand@1' does not match '^flash(@.*)?$'
From schema: Documentation/devicetree/bindings/mtd/spi-nand.yaml
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/spi@78b6000: failed to match any schema with compatible: ['qcom,spi-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/i2c@78b7000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/i2c@78b8000: failed to match any schema with compatible: ['qcom,i2c-qup-v2.2.1']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/dma@8e04000: failed to match any schema with compatible: ['qcom,bam-v1.7.0']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/crypto@8e3a000: failed to match any schema with compatible: ['qcom,crypto-v5.1']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/clock-controller@b088000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/clock-controller@b098000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/clock-controller@b0a8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dt.yaml:0:0: /soc/clock-controller@b0b8000: failed to match any schema with compatible: ['qcom,kpss-acc-v2']
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[chrome-os:chromeos-5.10 73/79] drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:238:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: f7114672862c1546f060d6e73967a96a04ea5b87
commit: 32f4d25571b010ec0b7b94d1c07ca4944f9005ad [73/79] UPSTREAM: mt76: move mcu queues to mt76_dev q_mcu array
config: arm-buildonly-randconfig-r002-20210720 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.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 32f4d25571b010ec0b7b94d1c07ca4944f9005ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm
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 >>):
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c: In function 'mt7615_mcu_send_message':
>> drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:238:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id' [-Wenum-conversion]
238 | qid = MT_MCUQ_WM;
| ^
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:240:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id' [-Wenum-conversion]
240 | qid = MT_MCUQ_FWDL;
| ^
--
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c: In function 'mt7915_mcu_send_message':
>> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:271:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id' [-Wenum-conversion]
271 | txq = MT_MCUQ_FWDL;
| ^
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:278:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id' [-Wenum-conversion]
278 | txq = MT_MCUQ_WA;
| ^
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:282:7: warning: implicit conversion from 'enum mt76_mcuq_id' to 'enum mt76_txq_id' [-Wenum-conversion]
282 | txq = MT_MCUQ_WM;
| ^
vim +238 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
228
229 static int
230 mt7615_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb,
231 int cmd, int *seq)
232 {
233 struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76);
234 enum mt76_txq_id qid;
235
236 mt7615_mcu_fill_msg(dev, skb, cmd, seq);
237 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state))
> 238 qid = MT_MCUQ_WM;
239 else
240 qid = MT_MCUQ_FWDL;
241
242 return mt76_tx_queue_skb_raw(dev, dev->mt76.q_mcu[qid], skb, 0);
243 }
244
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
ld.lld: error: scm.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 34267072 is not in
by kernel test robot
CC: linux-kernel(a)vger.kernel.org
TO: Eric Dumazet <edumazet(a)google.com>
Hi Eric,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
commit: 38ebcf5096a86762b82262e96b2c8b170fe79040 scm: optimize put_cmsg()
date: 3 months ago
config: arm-randconfig-r014-20210715 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 0e49c54a8cbd3e779e5526a5888c683c01cc3c50)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 38ebcf5096a86762b82262e96b2c8b170fe79040
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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 >>):
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
>> ld.lld: error: scm.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 34267072 is not in [-33554432, 33554431]
ld.lld: error: socket.c:(.text.fixup+0x4): relocation R_ARM_JUMP24 out of range: 33889508 is not in [-33554432, 33554431]
>> ld.lld: error: scm.c:(.text.fixup+0xC): relocation R_ARM_JUMP24 out of range: 34267120 is not in [-33554432, 33554431]
ld.lld: error: socket.c:(.text.fixup+0xC): relocation R_ARM_JUMP24 out of range: 33907024 is not in [-33554432, 33554431]
ld.lld: error: socket.c:(.text.fixup+0x14): relocation R_ARM_JUMP24 out of range: 33907108 is not in [-33554432, 33554431]
ld.lld: error: scm.c:(.text.fixup+0x14): relocation R_ARM_JUMP24 out of range: 34267172 is not in [-33554432, 33554431]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[chrome-os:chromeos-5.10 30/79] drivers/net/wireless/mediatek/mt76/mt7915/init.c:203:2: error: expected expression before '}' token
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: f7114672862c1546f060d6e73967a96a04ea5b87
commit: 4f5bd8c5c16326112da32e55748d7d896c8a8b37 [30/79] Revert "BACKPORT: mt76: mt7915: fix MESH ifdef block"
config: arm-buildonly-randconfig-r002-20210720 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.3.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 4f5bd8c5c16326112da32e55748d7d896c8a8b37
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/net/wireless/mediatek/mt76/mt7615/ drivers/net/wireless/mediatek/mt76/mt7915/
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/net/wireless/mediatek/mt76/mt7915/init.c:203:2: error: expected expression before '}' token
203 | }, {
| ^
vim +203 drivers/net/wireless/mediatek/mt76/mt7915/init.c
e57b7901469fc0 Ryder Lee 2020-04-25 192
e57b7901469fc0 Ryder Lee 2020-04-25 193 static const struct ieee80211_iface_limit if_limits[] = {
e57b7901469fc0 Ryder Lee 2020-04-25 194 {
e57b7901469fc0 Ryder Lee 2020-04-25 195 .max = 1,
e57b7901469fc0 Ryder Lee 2020-04-25 196 .types = BIT(NL80211_IFTYPE_ADHOC)
e57b7901469fc0 Ryder Lee 2020-04-25 197 }, {
3f9a790d9b0172 Felix Fietkau 2020-09-26 198 .max = 16,
4f5bd8c5c16326 Sean Wang 2021-07-19 199 .types = BIT(NL80211_IFTYPE_AP) |
e57b7901469fc0 Ryder Lee 2020-04-25 200 #ifdef CONFIG_MAC80211_MESH
4f5bd8c5c16326 Sean Wang 2021-07-19 201 BIT(NL80211_IFTYPE_MESH_POINT)
e57b7901469fc0 Ryder Lee 2020-04-25 202 #endif
3f9a790d9b0172 Felix Fietkau 2020-09-26 @203 }, {
3f9a790d9b0172 Felix Fietkau 2020-09-26 204 .max = MT7915_MAX_INTERFACES,
3f9a790d9b0172 Felix Fietkau 2020-09-26 205 .types = BIT(NL80211_IFTYPE_STATION)
e57b7901469fc0 Ryder Lee 2020-04-25 206 }
e57b7901469fc0 Ryder Lee 2020-04-25 207 };
e57b7901469fc0 Ryder Lee 2020-04-25 208
:::::: The code at line 203 was first introduced by commit
:::::: 3f9a790d9b017221350793f97c01ed8df45b7579 UPSTREAM: mt76: mt7915: support 32 station interfaces
:::::: TO: Felix Fietkau <nbd(a)nbd.name>
:::::: CC: Commit Bot <commit-bot(a)chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[zen-kernel-zen-kernel:5.13/futex2-tkg 4/15] kernel/sys_ni.c:158:1: warning: no previous prototype for function '__arm64_sys_futex_requeue'
by kernel test robot
tree: https://github.com/zen-kernel/zen-kernel 5.13/futex2-tkg
head: 8eb940ffa39f19c4ddf284615dfb27a6444a3c1d
commit: 0180aec9b832267462e7d6bfc1659ac5bd32350a [4/15] futex2: Implement requeue operation
config: arm64-randconfig-r022-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/zen-kernel/zen-kernel/commit/0180aec9b832267462e7d6bfc...
git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2-tkg
git checkout 0180aec9b832267462e7d6bfc1659ac5bd32350a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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 >>):
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:62:1: note: expanded from here
__arm64_sys_futex_time32
^
kernel/sys_ni.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:149:1: warning: no previous prototype for function '__arm64_sys_set_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(set_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:63:1: note: expanded from here
__arm64_sys_set_robust_list
^
kernel/sys_ni.c:149:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:150:1: warning: no previous prototype for function '__arm64_compat_sys_set_robust_list' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(set_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:64:1: note: expanded from here
__arm64_compat_sys_set_robust_list
^
kernel/sys_ni.c:150:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:151:1: warning: no previous prototype for function '__arm64_sys_get_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(get_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:65:1: note: expanded from here
__arm64_sys_get_robust_list
^
kernel/sys_ni.c:151:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:152:1: warning: no previous prototype for function '__arm64_compat_sys_get_robust_list' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(get_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:66:1: note: expanded from here
__arm64_compat_sys_get_robust_list
^
kernel/sys_ni.c:152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:155:1: warning: no previous prototype for function '__arm64_sys_futex_wait' [-Wmissing-prototypes]
COND_SYSCALL(futex_wait);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:67:1: note: expanded from here
__arm64_sys_futex_wait
^
kernel/sys_ni.c:155:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:156:1: warning: no previous prototype for function '__arm64_sys_futex_wake' [-Wmissing-prototypes]
COND_SYSCALL(futex_wake);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:68:1: note: expanded from here
__arm64_sys_futex_wake
^
kernel/sys_ni.c:156:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:157:1: warning: no previous prototype for function '__arm64_sys_futex_waitv' [-Wmissing-prototypes]
COND_SYSCALL(futex_waitv);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:69:1: note: expanded from here
__arm64_sys_futex_waitv
^
kernel/sys_ni.c:157:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:158:1: warning: no previous prototype for function '__arm64_sys_futex_requeue' [-Wmissing-prototypes]
COND_SYSCALL(futex_requeue);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:70:1: note: expanded from here
__arm64_sys_futex_requeue
^
kernel/sys_ni.c:158:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:165:1: warning: no previous prototype for function '__arm64_sys_kexec_load' [-Wmissing-prototypes]
COND_SYSCALL(kexec_load);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:71:1: note: expanded from here
__arm64_sys_kexec_load
^
kernel/sys_ni.c:165:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:166:1: warning: no previous prototype for function '__arm64_compat_sys_kexec_load' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(kexec_load);
^
arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:72:1: note: expanded from here
__arm64_compat_sys_kexec_load
^
kernel/sys_ni.c:166:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:169:1: warning: no previous prototype for function '__arm64_sys_init_module' [-Wmissing-prototypes]
COND_SYSCALL(init_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:73:1: note: expanded from here
__arm64_sys_init_module
^
kernel/sys_ni.c:169:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:170:1: warning: no previous prototype for function '__arm64_sys_delete_module' [-Wmissing-prototypes]
COND_SYSCALL(delete_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:74:1: note: expanded from here
__arm64_sys_delete_module
^
kernel/sys_ni.c:170:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:175:1: warning: no previous prototype for function '__arm64_sys_syslog' [-Wmissing-prototypes]
COND_SYSCALL(syslog);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:75:1: note: expanded from here
__arm64_sys_syslog
^
kernel/sys_ni.c:175:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:182:1: warning: no previous prototype for function '__arm64_sys_setregid' [-Wmissing-prototypes]
COND_SYSCALL(setregid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:76:1: note: expanded from here
__arm64_sys_setregid
^
kernel/sys_ni.c:182:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:183:1: warning: no previous prototype for function '__arm64_sys_setgid' [-Wmissing-prototypes]
COND_SYSCALL(setgid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:77:1: note: expanded from here
__arm64_sys_setgid
^
kernel/sys_ni.c:183:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
vim +/__arm64_sys_futex_requeue +158 kernel/sys_ni.c
153
154 /* kernel/futex2.c */
155 COND_SYSCALL(futex_wait);
156 COND_SYSCALL(futex_wake);
157 COND_SYSCALL(futex_waitv);
> 158 COND_SYSCALL(futex_requeue);
159
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH bpf 2/3] bpf, sockmap: on cleanup we additionally need to remove cached skb
by Dan Carpenter
Hi John,
url: https://github.com/0day-ci/linux/commits/John-Fastabend/sockmap-fixes-pic...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
config: i386-randconfig-m021-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
net/core/skmsg.c:627 sk_psock_backlog() error: uninitialized symbol 'skb'.
net/core/skmsg.c:639 sk_psock_backlog() error: uninitialized symbol 'off'.
net/core/skmsg.c:640 sk_psock_backlog() error: uninitialized symbol 'len'.
vim +/skb +627 net/core/skmsg.c
604326b41a6fb9 Daniel Borkmann 2018-10-13 609 static void sk_psock_backlog(struct work_struct *work)
604326b41a6fb9 Daniel Borkmann 2018-10-13 610 {
604326b41a6fb9 Daniel Borkmann 2018-10-13 611 struct sk_psock *psock = container_of(work, struct sk_psock, work);
604326b41a6fb9 Daniel Borkmann 2018-10-13 612 struct sk_psock_work_state *state = &psock->work_state;
604326b41a6fb9 Daniel Borkmann 2018-10-13 613 struct sk_buff *skb;
604326b41a6fb9 Daniel Borkmann 2018-10-13 614 bool ingress;
604326b41a6fb9 Daniel Borkmann 2018-10-13 615 u32 len, off;
604326b41a6fb9 Daniel Borkmann 2018-10-13 616 int ret;
604326b41a6fb9 Daniel Borkmann 2018-10-13 617
799aa7f98d53e0 Cong Wang 2021-03-30 618 mutex_lock(&psock->work_mutex);
d1f6b1c794e27f John Fastabend 2021-07-19 619 if (unlikely(state->skb)) {
d1f6b1c794e27f John Fastabend 2021-07-19 620 spin_lock_bh(&psock->ingress_lock);
604326b41a6fb9 Daniel Borkmann 2018-10-13 621 skb = state->skb;
604326b41a6fb9 Daniel Borkmann 2018-10-13 622 len = state->len;
604326b41a6fb9 Daniel Borkmann 2018-10-13 623 off = state->off;
604326b41a6fb9 Daniel Borkmann 2018-10-13 624 state->skb = NULL;
d1f6b1c794e27f John Fastabend 2021-07-19 625 spin_unlock_bh(&psock->ingress_lock);
604326b41a6fb9 Daniel Borkmann 2018-10-13 626 }
skb uninitialized on else path.
d1f6b1c794e27f John Fastabend 2021-07-19 @627 if (skb)
d1f6b1c794e27f John Fastabend 2021-07-19 628 goto start;
604326b41a6fb9 Daniel Borkmann 2018-10-13 629
604326b41a6fb9 Daniel Borkmann 2018-10-13 630 while ((skb = skb_dequeue(&psock->ingress_skb))) {
604326b41a6fb9 Daniel Borkmann 2018-10-13 631 len = skb->len;
604326b41a6fb9 Daniel Borkmann 2018-10-13 632 off = 0;
604326b41a6fb9 Daniel Borkmann 2018-10-13 633 start:
e3526bb92a2084 Cong Wang 2021-02-23 634 ingress = skb_bpf_ingress(skb);
e3526bb92a2084 Cong Wang 2021-02-23 635 skb_bpf_redirect_clear(skb);
604326b41a6fb9 Daniel Borkmann 2018-10-13 636 do {
604326b41a6fb9 Daniel Borkmann 2018-10-13 637 ret = -EIO;
799aa7f98d53e0 Cong Wang 2021-03-30 638 if (!sock_flag(psock->sk, SOCK_DEAD))
604326b41a6fb9 Daniel Borkmann 2018-10-13 @639 ret = sk_psock_handle_skb(psock, skb, off,
604326b41a6fb9 Daniel Borkmann 2018-10-13 @640 len, ingress);
604326b41a6fb9 Daniel Borkmann 2018-10-13 641 if (ret <= 0) {
604326b41a6fb9 Daniel Borkmann 2018-10-13 642 if (ret == -EAGAIN) {
d1f6b1c794e27f John Fastabend 2021-07-19 643 sk_psock_skb_state(psock, state, skb,
d1f6b1c794e27f John Fastabend 2021-07-19 644 len, off);
604326b41a6fb9 Daniel Borkmann 2018-10-13 645 goto end;
604326b41a6fb9 Daniel Borkmann 2018-10-13 646 }
604326b41a6fb9 Daniel Borkmann 2018-10-13 647 /* Hard errors break pipe and stop xmit. */
604326b41a6fb9 Daniel Borkmann 2018-10-13 648 sk_psock_report_error(psock, ret ? -ret : EPIPE);
604326b41a6fb9 Daniel Borkmann 2018-10-13 649 sk_psock_clear_state(psock, SK_PSOCK_TX_ENABLED);
781dd0431eb549 Cong Wang 2021-06-14 650 sock_drop(psock->sk, skb);
604326b41a6fb9 Daniel Borkmann 2018-10-13 651 goto end;
604326b41a6fb9 Daniel Borkmann 2018-10-13 652 }
604326b41a6fb9 Daniel Borkmann 2018-10-13 653 off += ret;
604326b41a6fb9 Daniel Borkmann 2018-10-13 654 len -= ret;
604326b41a6fb9 Daniel Borkmann 2018-10-13 655 } while (len);
604326b41a6fb9 Daniel Borkmann 2018-10-13 656
604326b41a6fb9 Daniel Borkmann 2018-10-13 657 if (!ingress)
604326b41a6fb9 Daniel Borkmann 2018-10-13 658 kfree_skb(skb);
604326b41a6fb9 Daniel Borkmann 2018-10-13 659 }
604326b41a6fb9 Daniel Borkmann 2018-10-13 660 end:
799aa7f98d53e0 Cong Wang 2021-03-30 661 mutex_unlock(&psock->work_mutex);
604326b41a6fb9 Daniel Borkmann 2018-10-13 662 }
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months