On Saturday 16 April 2016 17:06:15 Olof's autobuilder wrote:
Here are the build results from automated periodic testing.
I think we are really close to warning-free (if you get a newer compiler)
Warnings: 1 drivers/isdn/hardware/eicon/platform.h:333:18: warning: array subscript is above array bounds [-Warray-bounds] 1 drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 include/sound/control.h:219:2: warning: 'master_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1480 bytes is larger than 1024 bytes [-Wframe-larger-than=] 3 net/bridge/br_mdb.c:569:4: warning: 'pg' may be used uninitialized in this function [-Wmaybe-uninitialized]
I think these are all a result of using an older compiler. which version is this?
2 drivers/tty/serial/uartlite.c:348:21: warning: assignment discards 'const' qualifier from pointer target type 2 drivers/tty/serial/uartlite.c:354:22: warning: assignment discards 'const' qualifier from pointer target type
I just resent my patch
4 drivers/clk/clk-vt8500.c:428:14: warning: 'best_mul' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:429:12: warning: 'best_div1' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:430:12: warning: 'best_div2' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:507:14: warning: 'best_mul' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:508:12: warning: 'best_div1' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:509:12: warning: 'best_div2' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:558:14: warning: 'best_mul' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:559:12: warning: 'best_div1' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 drivers/clk/clk-vt8500.c:560:12: warning: 'best_div2' may be used uninitialized in this function [-Wmaybe-uninitialized]
My patch is in linux-next, but didn't make it into mainline so far.
Stephen, could you send this as a bugfix for the next -rc?
5 drivers/gpu/drm/msm/msm_drv.c:468:18: warning: unused variable 'kms' [-Wunused-variable]
I submitted a patch today, this was a regression in a bugfix
7 include/linux/kernel.h:741:17: warning: comparison of distinct pointer types lacks a cast
This only shows up on powerpc, I've ignored it so far.
Arnd