[hch-misc:vgaarb-cleanups 4/4] drivers/gpu/drm/vkms/vkms_drv.c:155:9: warning: shift count >= width of type
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git vgaarb-cleanups
head: 06ce75527991e82573f5127a13dd1550c3045c35
commit: 06ce75527991e82573f5127a13dd1550c3045c35 [4/4] vgaarb: remove the unused irq_set_state argument to vga_client_register
config: x86_64-randconfig-r016-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a28facba1ccdc957f386b7753f4958307f1bfde8)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc vgaarb-cleanups
git checkout 06ce75527991e82573f5127a13dd1550c3045c35
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
In file included from drivers/gpu/drm/vkms/vkms_drv.c:20:
In file included from include/drm/drm_fb_helper.h:39:
include/linux/vgaarb.h:136:40: error: too many arguments to function call, expected 3, have 4
vga_client_register(pdev, NULL, NULL, NULL);
~~~~~~~~~~~~~~~~~~~ ^~~~
include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
include/linux/vgaarb.h:124:5: note: 'vga_client_register' declared here
int vga_client_register(struct pci_dev *pdev, void *cookie,
^
>> drivers/gpu/drm/vkms/vkms_drv.c:155:9: warning: shift count >= width of type [-Wshift-count-overflow]
DMA_BIT_MASK(64));
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 1 error generated.
vim +155 drivers/gpu/drm/vkms/vkms_drv.c
c04372ea4abd83 Rodrigo Siqueira 2018-05-16 128
2df7af93fdadb9 Sumera Priyadarsini 2021-01-12 129 static int vkms_create(struct vkms_config *config)
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 130 {
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 131 int ret;
53d77aaa3f76d2 Daniel Vetter 2020-09-09 132 struct platform_device *pdev;
2df7af93fdadb9 Sumera Priyadarsini 2021-01-12 133 struct vkms_device *vkms_device;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 134
53d77aaa3f76d2 Daniel Vetter 2020-09-09 135 pdev = platform_device_register_simple(DRIVER_NAME, -1, NULL, 0);
53d77aaa3f76d2 Daniel Vetter 2020-09-09 136 if (IS_ERR(pdev))
53d77aaa3f76d2 Daniel Vetter 2020-09-09 137 return PTR_ERR(pdev);
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 138
53d77aaa3f76d2 Daniel Vetter 2020-09-09 139 if (!devres_open_group(&pdev->dev, NULL, GFP_KERNEL)) {
53d77aaa3f76d2 Daniel Vetter 2020-09-09 140 ret = -ENOMEM;
53d77aaa3f76d2 Daniel Vetter 2020-09-09 141 goto out_unregister;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 142 }
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 143
53d77aaa3f76d2 Daniel Vetter 2020-09-09 144 vkms_device = devm_drm_dev_alloc(&pdev->dev, &vkms_driver,
53d77aaa3f76d2 Daniel Vetter 2020-09-09 145 struct vkms_device, drm);
53d77aaa3f76d2 Daniel Vetter 2020-09-09 146 if (IS_ERR(vkms_device)) {
53d77aaa3f76d2 Daniel Vetter 2020-09-09 147 ret = PTR_ERR(vkms_device);
53d77aaa3f76d2 Daniel Vetter 2020-09-09 148 goto out_devres;
53d77aaa3f76d2 Daniel Vetter 2020-09-09 149 }
53d77aaa3f76d2 Daniel Vetter 2020-09-09 150 vkms_device->platform = pdev;
2df7af93fdadb9 Sumera Priyadarsini 2021-01-12 151 vkms_device->config = config;
2df7af93fdadb9 Sumera Priyadarsini 2021-01-12 152 config->dev = vkms_device;
633873e6cb884f Emil Velikov 2018-10-26 153
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 154 ret = dma_coerce_mask_and_coherent(vkms_device->drm.dev,
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 @155 DMA_BIT_MASK(64));
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 156
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 157 if (ret) {
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 158 DRM_ERROR("Could not initialize DMA support\n");
53d77aaa3f76d2 Daniel Vetter 2020-09-09 159 goto out_devres;
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 160 }
94e2ec3f7fef86 Oleg Vasilev 2019-09-30 161
3a0709928b172a Rodrigo Siqueira 2018-07-11 162 vkms_device->drm.irq_enabled = true;
3a0709928b172a Rodrigo Siqueira 2018-07-11 163
3a0709928b172a Rodrigo Siqueira 2018-07-11 164 ret = drm_vblank_init(&vkms_device->drm, 1);
3a0709928b172a Rodrigo Siqueira 2018-07-11 165 if (ret) {
3a0709928b172a Rodrigo Siqueira 2018-07-11 166 DRM_ERROR("Failed to vblank\n");
53d77aaa3f76d2 Daniel Vetter 2020-09-09 167 goto out_devres;
3a0709928b172a Rodrigo Siqueira 2018-07-11 168 }
3a0709928b172a Rodrigo Siqueira 2018-07-11 169
854502fa0a38dc Rodrigo Siqueira 2018-05-16 170 ret = vkms_modeset_init(vkms_device);
854502fa0a38dc Rodrigo Siqueira 2018-05-16 171 if (ret)
53d77aaa3f76d2 Daniel Vetter 2020-09-09 172 goto out_devres;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 173
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 174 ret = drm_dev_register(&vkms_device->drm, 0);
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 175 if (ret)
53d77aaa3f76d2 Daniel Vetter 2020-09-09 176 goto out_devres;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 177
ea40d7857d5250 Daniel Vetter 2020-10-10 178 drm_fbdev_generic_setup(&vkms_device->drm, 0);
ea40d7857d5250 Daniel Vetter 2020-10-10 179
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 180 return 0;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 181
53d77aaa3f76d2 Daniel Vetter 2020-09-09 182 out_devres:
53d77aaa3f76d2 Daniel Vetter 2020-09-09 183 devres_release_group(&pdev->dev, NULL);
633873e6cb884f Emil Velikov 2018-10-26 184 out_unregister:
53d77aaa3f76d2 Daniel Vetter 2020-09-09 185 platform_device_unregister(pdev);
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 186 return ret;
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 187 }
1c7c5fd916a0ff Haneen Mohammed 2018-05-14 188
:::::: The code at line 155 was first introduced by commit
:::::: 94e2ec3f7fef86506293a448273b2b4ee21e6195 drm/vkms: prime import support
:::::: TO: Oleg Vasilev <omrigann(a)gmail.com>
:::::: CC: Rodrigo Siqueira <rodrigosiqueiramelo(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[linuxppc:next-test 29/97] arch/powerpc/math-emu/math.c:237:13: sparse: sparse: incorrect type in initializer (different address spaces)
by kernel test robot
tree: https://github.com/linuxppc/linux next-test
head: 3411d1b25358f6007f411b1fa629ac040b8f59ad
commit: 60e66d033c83b3677fd54b3bc3a9643b56b64f04 [29/97] powerpc/uaccess: Refactor get/put_user() and __get/put_user()
config: powerpc64-randconfig-s032-20210314 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
# https://github.com/linuxppc/linux/commit/60e66d033c83b3677fd54b3bc3a9643b...
git remote add linuxppc https://github.com/linuxppc/linux
git fetch --no-tags linuxppc next-test
git checkout 60e66d033c83b3677fd54b3bc3a9643b56b64f04
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
arch/powerpc/math-emu/math.c:228:21: sparse: sparse: Using plain integer as NULL pointer
arch/powerpc/math-emu/math.c:228:31: sparse: sparse: Using plain integer as NULL pointer
arch/powerpc/math-emu/math.c:228:41: sparse: sparse: Using plain integer as NULL pointer
arch/powerpc/math-emu/math.c:228:51: sparse: sparse: Using plain integer as NULL pointer
>> arch/powerpc/math-emu/math.c:237:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int [noderef] __user *_gu_addr @@ got unsigned int [usertype] * @@
arch/powerpc/math-emu/math.c:237:13: sparse: expected unsigned int [noderef] __user *_gu_addr
arch/powerpc/math-emu/math.c:237:13: sparse: got unsigned int [usertype] *
vim +237 arch/powerpc/math-emu/math.c
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 224
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 225 int
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 226 do_mathemu(struct pt_regs *regs)
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 227 {
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 228 void *op0 = 0, *op1 = 0, *op2 = 0, *op3 = 0;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 229 unsigned long pc = regs->nip;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 230 signed short sdisp;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 231 u32 insn = 0;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 232 int idx = 0;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 233 int (*func)(void *, void *, void *, void *);
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 234 int type = 0;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 235 int eflag, trap;
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 236
^1da177e4c3f41 arch/ppc/math-emu/math.c Linus Torvalds 2005-04-16 @237 if (get_user(insn, (u32 *)pc))
:::::: The code at line 237 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[hch-misc:vgaarb-cleanups 4/4] include/linux/vgaarb.h:136:40: error: too many arguments to function call, expected 3, have 4
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git vgaarb-cleanups
head: 06ce75527991e82573f5127a13dd1550c3045c35
commit: 06ce75527991e82573f5127a13dd1550c3045c35 [4/4] vgaarb: remove the unused irq_set_state argument to vga_client_register
config: arm64-randconfig-r023-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a28facba1ccdc957f386b7753f4958307f1bfde8)
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
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc vgaarb-cleanups
git checkout 06ce75527991e82573f5127a13dd1550c3045c35
# 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 errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/msm/adreno/adreno_device.c:9:
In file included from drivers/gpu/drm/msm/adreno/adreno_gpu.h:15:
In file included from drivers/gpu/drm/msm/msm_gpu.h:16:
In file included from drivers/gpu/drm/msm/msm_drv.h:28:
In file included from include/drm/drm_atomic.h:31:
In file included from include/drm/drm_crtc.h:28:
In file included from include/linux/i2c.h:13:
In file included from include/linux/acpi.h:35:
In file included from include/acpi/acpi_io.h:7:
In file included from arch/arm64/include/asm/acpi.h:12:
include/linux/efi.h:1093:34: warning: passing 1-byte aligned argument to 4-byte aligned parameter 2 of 'get_var' may result in an unaligned pointer access [-Walign-mismatch]
status = get_var(L"SecureBoot", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size,
^
include/linux/efi.h:1101:24: warning: passing 1-byte aligned argument to 4-byte aligned parameter 2 of 'get_var' may result in an unaligned pointer access [-Walign-mismatch]
get_var(L"SetupMode", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size, &setupmode);
^
In file included from drivers/gpu/drm/msm/adreno/adreno_device.c:9:
In file included from drivers/gpu/drm/msm/adreno/adreno_gpu.h:15:
In file included from drivers/gpu/drm/msm/msm_gpu.h:16:
In file included from drivers/gpu/drm/msm/msm_drv.h:32:
In file included from include/drm/drm_fb_helper.h:39:
>> include/linux/vgaarb.h:136:40: error: too many arguments to function call, expected 3, have 4
vga_client_register(pdev, NULL, NULL, NULL);
~~~~~~~~~~~~~~~~~~~ ^~~~
include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
include/linux/vgaarb.h:127:19: note: 'vga_client_register' declared here
static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
^
2 warnings and 1 error generated.
--
In file included from drivers/gpu/drm/msm/msm_gem_submit.c:15:
In file included from drivers/gpu/drm/msm/msm_drv.h:28:
In file included from include/drm/drm_atomic.h:31:
In file included from include/drm/drm_crtc.h:28:
In file included from include/linux/i2c.h:13:
In file included from include/linux/acpi.h:35:
In file included from include/acpi/acpi_io.h:7:
In file included from arch/arm64/include/asm/acpi.h:12:
include/linux/efi.h:1093:34: warning: passing 1-byte aligned argument to 4-byte aligned parameter 2 of 'get_var' may result in an unaligned pointer access [-Walign-mismatch]
status = get_var(L"SecureBoot", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size,
^
include/linux/efi.h:1101:24: warning: passing 1-byte aligned argument to 4-byte aligned parameter 2 of 'get_var' may result in an unaligned pointer access [-Walign-mismatch]
get_var(L"SetupMode", &EFI_GLOBAL_VARIABLE_GUID, NULL, &size, &setupmode);
^
In file included from drivers/gpu/drm/msm/msm_gem_submit.c:15:
In file included from drivers/gpu/drm/msm/msm_drv.h:32:
In file included from include/drm/drm_fb_helper.h:39:
>> include/linux/vgaarb.h:136:40: error: too many arguments to function call, expected 3, have 4
vga_client_register(pdev, NULL, NULL, NULL);
~~~~~~~~~~~~~~~~~~~ ^~~~
include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
include/linux/vgaarb.h:127:19: note: 'vga_client_register' declared here
static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
^
drivers/gpu/drm/msm/msm_gem_submit.c:206:10: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
if (sz == SIZE_MAX) {
~~ ^ ~~~~~~~~
3 warnings and 1 error generated.
vim +136 include/linux/vgaarb.h
deb2d2ecd43dfc Benjamin Herrenschmidt 2009-08-11 133
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 134 static inline void vga_client_unregister(struct pci_dev *pdev)
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 135 {
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 @136 vga_client_register(pdev, NULL, NULL, NULL);
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 137
:::::: The code at line 136 was first introduced by commit
:::::: c6dc15a5e8f729a599d8becc7b44e55908b9753e vgaarb: provide a vga_client_unregister wrapper
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[hch-misc:vgaarb-cleanups 4/4] include/linux/vgaarb.h:136:2: error: too many arguments to function 'vga_client_register'
by kernel test robot
tree: git://git.infradead.org/users/hch/misc.git vgaarb-cleanups
head: 06ce75527991e82573f5127a13dd1550c3045c35
commit: 06ce75527991e82573f5127a13dd1550c3045c35 [4/4] vgaarb: remove the unused irq_set_state argument to vga_client_register
config: arc-randconfig-r024-20210315 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.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 hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc vgaarb-cleanups
git checkout 06ce75527991e82573f5127a13dd1550c3045c35
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
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/drm/drm_fb_helper.h:39,
from drivers/gpu/drm/drm_crtc_helper.c:45:
include/linux/vgaarb.h: In function 'vga_client_unregister':
>> include/linux/vgaarb.h:136:2: error: too many arguments to function 'vga_client_register'
136 | vga_client_register(pdev, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~
include/linux/vgaarb.h:127:19: note: declared here
127 | static inline int vga_client_register(struct pci_dev *pdev, void *cookie,
| ^~~~~~~~~~~~~~~~~~~
vim +/vga_client_register +136 include/linux/vgaarb.h
deb2d2ecd43dfc Benjamin Herrenschmidt 2009-08-11 133
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 134 static inline void vga_client_unregister(struct pci_dev *pdev)
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 135 {
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 @136 vga_client_register(pdev, NULL, NULL, NULL);
c6dc15a5e8f729 Christoph Hellwig 2021-03-15 137
:::::: The code at line 136 was first introduced by commit
:::::: c6dc15a5e8f729a599d8becc7b44e55908b9753e vgaarb: provide a vga_client_unregister wrapper
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH v4 3/4] clk: rockchip: support more core div setting
by kernel test robot
Hi Elaine,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on rockchip/for-next]
[also build test WARNING on v5.12-rc3 next-20210315]
[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/Elaine-Zhang/clk-rockchip-add-cl...
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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/081fc0189f5d4408e7c7425f4385392b0...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Elaine-Zhang/clk-rockchip-add-clock-controller-for-rk3568/20210315-144202
git checkout 081fc0189f5d4408e7c7425f4385392b0fd97d9f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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/clk/rockchip/clk-rk3188.c:187:67: warning: missing braces around initializer [-Wmissing-braces]
187 | static const struct rockchip_cpuclk_reg_data rk3188_cpuclk_data = {
| ^
vim +187 drivers/clk/rockchip/clk-rk3188.c
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 186
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 @187 static const struct rockchip_cpuclk_reg_data rk3188_cpuclk_data = {
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 188 .core_reg = RK2928_CLKSEL_CON(0),
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 189 .div_core_shift = 9,
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 190 .div_core_mask = 0x1f,
268aebaa241015 Xing Zheng 2016-03-09 191 .mux_core_alt = 1,
268aebaa241015 Xing Zheng 2016-03-09 192 .mux_core_main = 0,
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 193 .mux_core_shift = 8,
268aebaa241015 Xing Zheng 2016-03-09 194 .mux_core_mask = 0x1,
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 195 };
0e5bdb3f9fa5c2 Heiko Stuebner 2014-09-05 196
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH v3 2/2] usb: webcam: Invalid size of Processing Unit Descriptor
by kernel test robot
Hi Pawel,
I love your patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on peter.chen-usb/for-usb-next linus/master balbi-usb/testing/next v5.12-rc3 next-20210315]
[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/Pawel-Laszczak/usb-gadget-uvc-Up...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: xtensa-randconfig-r004-20210315 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.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/02bcbb1b029ca0cc6dd33c70363125bc2...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Pawel-Laszczak/usb-gadget-uvc-Updating-bcdUVC-field-to-0x0110/20210315-150207
git checkout 02bcbb1b029ca0cc6dd33c70363125bc2f3ce0d2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
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/usb/gadget/legacy/webcam.c:128:3: error: 'const struct uvc_processing_unit_descriptor' has no member named 'bmVideoStandrads'; did you mean 'bmVideoStandards'?
128 | .bmVideoStandrads = 0,
| ^~~~~~~~~~~~~~~~
| bmVideoStandards
vim +128 drivers/usb/gadget/legacy/webcam.c
116
117 static const struct uvc_processing_unit_descriptor uvc_processing = {
118 .bLength = UVC_DT_PROCESSING_UNIT_SIZE(2),
119 .bDescriptorType = USB_DT_CS_INTERFACE,
120 .bDescriptorSubType = UVC_VC_PROCESSING_UNIT,
121 .bUnitID = 2,
122 .bSourceID = 1,
123 .wMaxMultiplier = cpu_to_le16(16*1024),
124 .bControlSize = 2,
125 .bmControls[0] = 1,
126 .bmControls[1] = 0,
127 .iProcessing = 0,
> 128 .bmVideoStandrads = 0,
129 };
130
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[ps3:ps3-queue 6/14] arch/powerpc/kernel/process.c:675:6: error: no previous prototype for function 'do_break'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git ps3-queue
head: 2adf05b3045d10e1cd25d8db99608f4c77482caf
commit: 89d4e3c1761b6f437a2c50cd04470068ba59ade9 [6/14] ps3-debugging: Setup DABR register
config: powerpc-randconfig-r023-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a28facba1ccdc957f386b7753f4958307f1bfde8)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git/commi...
git remote add ps3 https://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git
git fetch --no-tags ps3 ps3-queue
git checkout 89d4e3c1761b6f437a2c50cd04470068ba59ade9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
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 >>):
>> arch/powerpc/kernel/process.c:675:6: error: no previous prototype for function 'do_break' [-Werror,-Wmissing-prototypes]
void do_break (struct pt_regs *regs, unsigned long address,
^
arch/powerpc/kernel/process.c:675:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void do_break (struct pt_regs *regs, unsigned long address,
^
static
1 error generated.
vim +/do_break +675 arch/powerpc/kernel/process.c
674
> 675 void do_break (struct pt_regs *regs, unsigned long address,
676 unsigned long error_code)
677 {
678 current->thread.trap_nr = TRAP_HWBKPT;
679 if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code,
680 11, SIGSEGV) == NOTIFY_STOP)
681 return;
682
683 if (debugger_break_match(regs))
684 return;
685
686 /*
687 * We reach here only when watchpoint exception is generated by ptrace
688 * event (or hw is buggy!). Now if CONFIG_HAVE_HW_BREAKPOINT is set,
689 * watchpoint is already handled by hw_breakpoint_handler() so we don't
690 * have to do anything. But when CONFIG_HAVE_HW_BREAKPOINT is not set,
691 * we need to manually handle the watchpoint here.
692 */
693 if (!IS_ENABLED(CONFIG_HAVE_HW_BREAKPOINT))
694 do_break_handler(regs);
695
696 /* Deliver the signal to userspace */
697 force_sig_fault(SIGTRAP, TRAP_HWBKPT, (void __user *)address);
698 }
699 #endif /* CONFIG_PPC_ADV_DEBUG_REGS */
700
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Xu,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
commit: 56172ab35338e3bb13c6bff65dea96b12e8c41ea fpga: dfl: add support for N3000 Nios private feature
date: 10 weeks ago
config: arm-randconfig-r024-20210314 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3)
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 56172ab35338e3bb13c6bff65dea96b12e8c41ea
# 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 >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc161s626.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc128s052.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc12138.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc084s021.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc0832.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ti-adc081c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/qcom-pm8xxx-xoadc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/qcom-spmi-vadc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/qcom-vadc-common.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/qcom-spmi-iadc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/qcom-spmi-adc5.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/palmas_gpadc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/nau7802.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/mcp3422.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/max9611.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/max1241.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/max1118.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/max11100.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ltc2497-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ltc2497.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ltc2485.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ltc2471.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/lp8788_adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/envelope-detector.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/dln2-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/da9150-gpadc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/cc10001_adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/axp288_adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/adi-axi-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad9467.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad799x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7949.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7887.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7793.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7791.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7780.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7768-1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7606.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7606_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7606_par.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7476.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7298.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7292.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7291.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7192.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7124.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7091r-base.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad7091r5.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/adc/ad_sigma_delta.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/ssp_accel_sensor.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/stk8ba50.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/stk8312.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mxc4005.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma9553.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma9551.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma9551_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma7660.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma7455_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma7455_i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mma7455_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/mc3230.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/kxsd9.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/kxcjk-1013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/hid-sensor-accel-3d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/dmard10.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/dmard09.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/da280.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/bmc150-accel-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/bmc150-accel-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/bmc150-accel-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/bma220_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/bma180.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/adxl345_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/adxl345_i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/adxl345_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/iio/accel/adis16209.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rpmsg/virtio_rpmsg_bus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rpmsg/qcom_glink_rpm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rpmsg/qcom_glink.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rpmsg/rpmsg_ns.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/rpmsg/rpmsg_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/greybus/greybus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/vhost/vhost_iotlb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/vhost/vhost.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/vhost/vhost_vsock.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/bcma/bcma.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/memstick/core/memstick.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/uio/uio_pruss.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/uio/uio_pdrv_genirq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/uio/uio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/slimbus/slimbus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hsi/hsi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hsi/clients/hsi_char.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/spmi/spmi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/ata/ahci_qoriq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/ata/libahci_platform.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/ata/libahci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/ata/ahci_ceva.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/ata/libata.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/vdpa/vdpa.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-n3000-nios.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-afu.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-fme-region.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-fme-br.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-fme-mgr.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl-fme.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/dfl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/of-fpga-region.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/fpga-region.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/xilinx-pr-decoupler.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/xilinx-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/fpga/ice40-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/nvmem/nvmem_qcom-spmi-sdam.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwtracing/intel_th/intel_th_msu_sink.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwtracing/intel_th/intel_th_pti.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwtracing/intel_th/intel_th_gth.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwtracing/intel_th/intel_th.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/extcon/extcon-ptn5150.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/extcon/extcon-max3355.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/extcon/extcon-fsa9480.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/extcon/extcon-adc-jack.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/devfreq/governor_passive.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/devfreq/governor_performance.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/soundwire/soundwire-qcom.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mailbox/mailbox-test.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/platform/chrome/cros_ec_i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-sensor-custom.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-zydacron.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-zpff.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-twinhan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-tmff.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-gaff.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-sjoy.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-plantronics.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-picolcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-pl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-prodikeys.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-ortek.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-monterey.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-microsoft.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-macally.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-lcpower.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-kye.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-ite.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-icade.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-gyration.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-glorious.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-gfrm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-gembird.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-ezkey.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-emsff.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-corsair.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-chicony.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-belkin.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/hid-aureal.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hid/uhid.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/crypto/inside-secure/crypto_safexcel.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/crypto/ccree/ccree.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-el15203000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-dac124s085.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-wm8350.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-tlc591xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-pwm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-pm8058.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-max8997.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-max77650.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lt3593.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp8788.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp50xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp3952.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp3944.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3601x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3533.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3530.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-ktd2692.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-is31fl32xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-da903x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-cpcap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aw2013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-as3645a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aat1290.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/led-class-flash.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_block.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_emmc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_simple.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_hsq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/cqhci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-cadence.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-pltfm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/usdhi6rol0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/ushc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/vub300.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/of_mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_am654.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_f_sdh30.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH 2/2] zonefs: Fix O_APPEND async write handling
by Damien Le Moal
On 2021/03/15 16:21, Johannes Thumshirn wrote:
> On 15/03/2021 08:16, kernel test robot wrote:
>> 818 static ssize_t zonefs_file_dio_write(struct kiocb *iocb, struct iov_iter *from)
>> 819 {
>> 820 struct inode *inode = file_inode(iocb->ki_filp);
>> 821 struct zonefs_inode_info *zi = ZONEFS_I(inode);
>> 822 struct super_block *sb = inode->i_sb;
>> 823 bool sync = is_sync_kiocb(iocb);
>> 824 bool append = false;
>> 825 ssize_t ret, count;
>
>> 843 count = zonefs_write_checks(iocb, from);
>> > 844 if (count <= 0)
>> 845 goto inode_unlock;
>
> Args that needs to be:
> if (count <= 0) {
> ret = count;
> goto inode_unlock;
> }
>
> Sorry for not spotting it.
Yep. Sending v2. Weird that gcc does not complain on my local compile...
>
>> 878 inode_unlock:
>> 879 inode_unlock(inode);
>> 880
>> 881 return ret;
>> 882 }
>> 883
>
--
Damien Le Moal
Western Digital Research
1 year, 6 months
Re: [PATCH 2/2] zonefs: Fix O_APPEND async write handling
by kernel test robot
Hi Damien,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc3 next-20210315]
[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/Damien-Le-Moal/zonefs-fixes/2021...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
config: x86_64-randconfig-a013-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a28facba1ccdc957f386b7753f4958307f1bfde8)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/1e8bb76723bbf4072c032334104026a61...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Damien-Le-Moal/zonefs-fixes/20210315-115123
git checkout 1e8bb76723bbf4072c032334104026a611b2634e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
>> fs/zonefs/super.c:844:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (count <= 0)
^~~~~~~~~~
fs/zonefs/super.c:881:9: note: uninitialized use occurs here
return ret;
^~~
fs/zonefs/super.c:844:2: note: remove the 'if' if its condition is always false
if (count <= 0)
^~~~~~~~~~~~~~~
fs/zonefs/super.c:825:13: note: initialize the variable 'ret' to silence this warning
ssize_t ret, count;
^
= 0
1 warning generated.
vim +844 fs/zonefs/super.c
807
808 /*
809 * Handle direct writes. For sequential zone files, this is the only possible
810 * write path. For these files, check that the user is issuing writes
811 * sequentially from the end of the file. This code assumes that the block layer
812 * delivers write requests to the device in sequential order. This is always the
813 * case if a block IO scheduler implementing the ELEVATOR_F_ZBD_SEQ_WRITE
814 * elevator feature is being used (e.g. mq-deadline). The block layer always
815 * automatically select such an elevator for zoned block devices during the
816 * device initialization.
817 */
818 static ssize_t zonefs_file_dio_write(struct kiocb *iocb, struct iov_iter *from)
819 {
820 struct inode *inode = file_inode(iocb->ki_filp);
821 struct zonefs_inode_info *zi = ZONEFS_I(inode);
822 struct super_block *sb = inode->i_sb;
823 bool sync = is_sync_kiocb(iocb);
824 bool append = false;
825 ssize_t ret, count;
826
827 /*
828 * For async direct IOs to sequential zone files, refuse IOCB_NOWAIT
829 * as this can cause write reordering (e.g. the first aio gets EAGAIN
830 * on the inode lock but the second goes through but is now unaligned).
831 */
832 if (zi->i_ztype == ZONEFS_ZTYPE_SEQ && !sync &&
833 (iocb->ki_flags & IOCB_NOWAIT))
834 return -EOPNOTSUPP;
835
836 if (iocb->ki_flags & IOCB_NOWAIT) {
837 if (!inode_trylock(inode))
838 return -EAGAIN;
839 } else {
840 inode_lock(inode);
841 }
842
843 count = zonefs_write_checks(iocb, from);
> 844 if (count <= 0)
845 goto inode_unlock;
846
847 if ((iocb->ki_pos | count) & (sb->s_blocksize - 1)) {
848 ret = -EINVAL;
849 goto inode_unlock;
850 }
851
852 /* Enforce sequential writes (append only) in sequential zones */
853 if (zi->i_ztype == ZONEFS_ZTYPE_SEQ) {
854 mutex_lock(&zi->i_truncate_mutex);
855 if (iocb->ki_pos != zi->i_wpoffset) {
856 mutex_unlock(&zi->i_truncate_mutex);
857 ret = -EINVAL;
858 goto inode_unlock;
859 }
860 mutex_unlock(&zi->i_truncate_mutex);
861 append = sync;
862 }
863
864 if (append)
865 ret = zonefs_file_dio_append(iocb, from);
866 else
867 ret = iomap_dio_rw(iocb, from, &zonefs_iomap_ops,
868 &zonefs_write_dio_ops, 0);
869 if (zi->i_ztype == ZONEFS_ZTYPE_SEQ &&
870 (ret > 0 || ret == -EIOCBQUEUED)) {
871 if (ret > 0)
872 count = ret;
873 mutex_lock(&zi->i_truncate_mutex);
874 zi->i_wpoffset += count;
875 mutex_unlock(&zi->i_truncate_mutex);
876 }
877
878 inode_unlock:
879 inode_unlock(inode);
880
881 return ret;
882 }
883
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months