On Mon, Mar 21, 2016 at 5:22 PM, Arnd Bergmann arnd@arndb.de wrote:
On Monday 21 March 2016 13:02:13 kernelci. org bot wrote:
allmodconfig (x86) — FAIL, 3 errors, 0 warnings, 0 section mismatches
Errors: collect2: error: ld returned 1 exit status arch/x86/../../elf.h:22:18: fatal error: gelf.h: No such file or directory elf.h:22:18: fatal error: gelf.h: No such file or directory
Someone needs to install libelf-dev on the kernelci build box, this came up very recently.
allmodconfig (arm64) — FAIL, 1 error, 12 warnings, 0 section mismatches
Errors: drivers/clk/meson/clkc.c:200:13: error: conflicting types for 'meson_clk_register_clks'
Patch is in -next
Warnings: <stdin>:1310:2: warning: #warning syscall preadv2 not implemented [-Wcpp] <stdin>:1313:2: warning: #warning syscall pwritev2 not implemented [-Wcpp]
Patch is in -next
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3631:17: warning: initialization makes integer from pointer without a cast [enabled by default]
Haven't checked this one.
drivers/platform/goldfish/goldfish_pipe.c:312:3: warning: 'get_user_pages8' is deprecated (declared at ../include/linux/mm.h:1292) [-Wdeprecated-declarations]
Should be fixable now, this was the result of a conflict between two branches for 4.6, the warning is part of the resolution.
drivers/media/v4l2-core/v4l2-mc.c:37:55: warning: unused variable 'dtv_demod' [-Wunused-variable]
I sent a patch a week ago when it showed up, has not made it into linux-next yet.
Mauro?
drivers/staging/fsl-mc/bus/mc-bus.c:263:3: warning: passing argument 1 of 'dev_err' from incompatible pointer type [enabled by default] drivers/staging/fsl-mc/bus/mc-bus.c:271:4: warning: passing argument 1 of 'dev_err' from incompatible pointer type [enabled by default]
Haven't seen this yet.
drivers/tty/serial/uartlite.c:348:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] drivers/tty/serial/uartlite.c:354:22: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
I sent a patch when it appeared, not picked up yet, but I assume it soon will, as Greg is busy merging patches today.
allmodconfig (arm) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings: <stdin>:1310:2: warning: #warning syscall preadv2 not implemented [-Wcpp] <stdin>:1313:2: warning: #warning syscall pwritev2 not implemented [-Wcpp] crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=] drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3631:17: warning: initialization makes integer from pointer without a cast [enabled by default] drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c:182:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
I sent a patch on Feb 22, no reaction.
Alison, Dave?
drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
I sent a patch in January and again in February. Jon Mason said he'd applied it, but it never made it into linux-next, and now the warning is in mainline.
I am pushing the patch to Linus this week for inclusion in 4.6. Sorry for the delay.
drivers/net/ethernet/smsc/smc911x.c:1796:20: warning: unused variable 'param' [-Wunused-variable] drivers/net/ethernet/smsc/smc911x.c:1795:17: warning: unused variable 'mask' [-Wunused-variable] drivers/net/ethernet/smsc/smc911x.c:1794:26: warning: unused variable 'config' [-Wunused-variable]
This came in today, sent a patch and DaveM applied it. ;-)
drivers/virtio/virtio_ring.c:1032:5: warning: 'queue' may be used uninitialized in this function [-Wmaybe-uninitialized]
I don't see this with gcc-5 or gcc-6. Probably only shows up on older compilers.
mini2440_defconfig (arm) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings: crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] net/bridge/br_mdb.c:569:19: warning: 'pg' may be used uninitialized in this function [-Wmaybe-uninitialized]
Only with gcc-4.9 and code is correct, so I'm not fixing it.
drivers/bus/mvebu-mbus.c:975:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'phys_addr_t' [-Wformat]
I sent a patch but forgot to pick it up into arm-soc myself. :(
Arnd