On Fri, Apr 28, 2017 at 4:03 PM, Olof's autobuilder build@lixom.net wrote:
Here are the build results from automated periodic testing.
The tree being built was stable-rc, found at:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git/
Topmost commit:
926373b Linux 3.18.51-rc1
Build logs (stderr only) can be found at the following link (experimental):
http://arm-soc.lixom.net/buildlogs/stable-rc/v3.18.50-48-g926373b/
Hi Greg,
I think Kevin turned on the stable/linux-3.8.y builds but not the respective stable-rc ones, so I don't have any kernelci build results for 3.18.51-rc1, but Olof's builder has some results, including a number of warnings that are found because of a different compiler version and some that are powerpc specific:
Errors:
powerpc.pasemi_defconfig:
/work/build/batch/arch/powerpc/kernel/ptrace.c:378:104: error: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Werror=array-bounds] /work/build/batch/arch/powerpc/kernel/ptrace.c:406:104: error: index 32 denotes an offset greater than size of 'u64[32][1] {aka long long unsigned int[32][1]}' [-Werror=array-bounds]
kernelci didn't have this one as it doesn't do powerpc builds. The fix is
f0b13816ad4f ("powerpc/ptrace: Fix out of bounds array access warning")
Warnings:
1 arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
I fixed this a long time ago, but had to go through several revisions as my fix caused a regression. I'd leave it as is then, the warning is harmless here.
1 drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined 1 drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
2630628b2dbc ("drbd: avoid redefinition of BITS_PER_PAGE")
(also on 4.4)
1 drivers/infiniband/hw/ehca/ehca_mrmw.c:1908:4: warning: 'prev_pgaddr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 drivers/infiniband/hw/ehca/ehca_mrmw.c:2430:5: warning: 'hret' may be used uninitialized in this function [-Wmaybe-uninitialized]
The driver was removed in 4.6
1 drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
Fixed as a side-effect of
898fa52b4ac3 ("IB/qib: Remove qpn, qp tables and related variables from qib")
which unfortunately is not appropriate for -stable
1 drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
This is most likely
49df2781b101 ("IB/iser: Fix sparse warnings")
which is certainly good to apply, but might not be complete.
1 drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1144 bytes is larger than 1024 bytes [-Wframe-larger-than=]
fddcca510705 ("mtd: avoid stack overflow in MTD CFI code")
1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
065bd8c28ba3 ("mlx5: avoid build warnings on 32-bit")
1 drivers/pci/host/pcie-xilinx.c:154:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
abc596b9a2f3 ("PCI: xilinx: Fix harmless format string warning")
1 drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 drivers/staging/imx-drm/imx-hdmi.c:967:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
both drivers are removed later. I'll follow up with fixes another day.
1 drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1304 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Can't find this one.
1 drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
Introduced by backport of 9a21c96c4672f02 ("arm64: add cpu_capabilities bitmap"), fixed in
06f9eb884be8 ("arm64: Provide a namespace to NCAPS")
1 include/sound/control.h:212:9: warning: 'master_vol' may be used uninitialized in this function [-Wmaybe-uninitialized]
b268c34e5ee9 ("ALSA: ppc/awacs: shut up maybe-uninitialized warning")
1 mm/cma.c:171:131: warning: comparison of distinct pointer types lacks a cast 1 mm/cma.c:253:193: warning: comparison of distinct pointer types lacks a cast 1 mm/cma.c:253:379: warning: comparison of distinct pointer types lacks a cast
badbda53e505 ("mm/cma: silence warnings due to max() usage")
1 net/netfilter/xt_owner.c:26:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 2 fs/devpts/inode.c:458:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 2 fs/xfs/xfs_ioctl.c:1098:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 4 drivers/connector/cn_proc.c:349:23: warning: self-comparison always evaluates to false [-Wtautological-compare] 4 kernel/audit.c:653:22: warning: self-comparison always evaluates to false [-Wtautological-compare] 5 kernel/taskstats.c:298:22: warning: self-comparison always evaluates to false [-Wtautological-compare]
At least some, maybe all of these are fixed by
becfb50c66cb ("cred/userns: define current_user_ns() as a function")
2 drivers/net/ethernet/broadcom/tg3.c:12060:4: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
e434e0411070 ("net: tg3: avoid uninitialized variable warning")
2 include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
ef6000b4c670 ("Disable the __builtin_return_address() warning globally after all") (probably needs trivial context changes)
Arnd