Tree/Branch: v4.1.38-rt46 Git describe: v4.1.38-rt46 Commit: d7e24898bc Linux 4.1.38-rt46
Build Time: 88 min 16 sec
Passed: 8 / 9 ( 88.89 %) Failed: 1 / 9 ( 11.11 %)
Errors: 1 Warnings: 46 Section Mismatches: 1
Failed defconfigs: arm-allmodconfig
Errors:
arm-allmodconfig ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!
------------------------------------------------------------------------------- defconfigs with issues (other than build errors): 36 warnings 3 mismatches : arm64-allmodconfig 4 warnings 0 mismatches : arm-multi_v5_defconfig 5 warnings 0 mismatches : arm-multi_v7_defconfig 3 warnings 0 mismatches : x86_64-defconfig 31 warnings 0 mismatches : arm-allmodconfig 2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 1 1 ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!
Warnings Summary: 46 8 ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast 6 ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] 6 ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] 6 ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined 4 ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool] 2 ../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 ../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=] 2 ../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable] 2 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] 2 ../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 ../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 ../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2 ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 2 ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 2 ../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 1 ../net/caif/cfpkt_skbuff.c:286:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1 ../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined 1 ../include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/staging/rtl8723au/core/rtw_wlan_util.c:525:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/staging/iio/adc/ad7192.c:238:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/scsi/megaraid/megaraid_sas_fusion.c:1723:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/scsi/bfa/bfa_ioc.c:3673:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/scsi/bfa/bfa_ioc.c:3665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/rtc/rtc-pcf8563.c:444:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable] 1 ../drivers/net/wireless/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] 1 ../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized] 1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp] 1 ../drivers/net/ethernet/dec/tulip/uli526x.c:1086:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp] 1 ../drivers/mtd/mtd_blkdevs.c:100:2: warning: switch condition has boolean value [-Wswitch-bool] 1 ../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1 ../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined 1 ../drivers/media/platform/am437x/am437x-vpfe.c:1723:27: warning: self-comparison always evaluates to true [-Wtautological-compare] 1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined 1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../drivers/gpio/gpio-74xx-mmio.c:132:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined 1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined 1 ../drivers/atm/iphase.c:1176:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1 ../arch/x86/kernel/cpu/mcheck/therm_throt.c:389:3: warning: right shift count >= width of type 1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] 1 ../arch/arm/include/asm/cmpxchg.h:207:3: warning: value computed is not used [-Wunused-value]
Section Mismatch Summary: 1 3 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
=============================================================================== Detailed per-defconfig build reports below:
------------------------------------------------------------------------------- arm64-allmodconfig : PASS, 0 errors, 36 warnings, 3 section mismatches
Warnings: ../drivers/atm/iphase.c:1176:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined ../net/caif/cfpkt_skbuff.c:286:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/gpio/gpio-74xx-mmio.c:132:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined ../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../drivers/mtd/mtd_blkdevs.c:100:2: warning: switch condition has boolean value [-Wswitch-bool] ../drivers/media/platform/am437x/am437x-vpfe.c:1723:27: warning: self-comparison always evaluates to true [-Wtautological-compare] ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp] ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp] ../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/net/ethernet/dec/tulip/uli526x.c:1086:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] ../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/scsi/bfa/bfa_ioc.c:3665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../drivers/scsi/bfa/bfa_ioc.c:3673:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../drivers/scsi/megaraid/megaraid_sas_fusion.c:1723:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ../drivers/net/wireless/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] ../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=] ../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable] ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] ../drivers/staging/iio/adc/ad7192.c:238:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] ../drivers/staging/rtl8723au/core/rtw_wlan_util.c:525:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Section Mismatches: WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit() WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit() WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
------------------------------------------------------------------------------- arm-multi_v5_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings: ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] ../drivers/rtc/rtc-pcf8563.c:444:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
------------------------------------------------------------------------------- arm-multi_v7_defconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings: ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool] ../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized] ../include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
------------------------------------------------------------------------------- x86_64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings: ../arch/x86/kernel/cpu/mcheck/therm_throt.c:389:3: warning: right shift count >= width of type ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function]
------------------------------------------------------------------------------- arm-allmodconfig : FAIL, 1 errors, 31 warnings, 0 section mismatches
Errors: ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!
Warnings: ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../arch/arm/include/asm/cmpxchg.h:207:3: warning: value computed is not used [-Wunused-value] ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool] ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=] ../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool] ../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined ../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined ../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable] ../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined ../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=] ../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable] ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp] ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast ../include/linux/kernel.h:729:17: warning: comparison of distinct pointer types lacks a cast
------------------------------------------------------------------------------- arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings: ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type] ../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] -------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig arm64-allnoconfig arm-allnoconfig close failed in file object destructor: sys.excepthook is missing lost sys.stderr
On Fri, Mar 10, 2017 at 8:54 PM, Build bot for Mark Brown broonie@kernel.org wrote:
defconfigs with issues (other than build errors): 36 warnings 3 mismatches : arm64-allmodconfig 4 warnings 0 mismatches : arm-multi_v5_defconfig 5 warnings 0 mismatches : arm-multi_v7_defconfig 3 warnings 0 mismatches : x86_64-defconfig 31 warnings 0 mismatches : arm-allmodconfig 2 warnings 0 mismatches : arm64-defconfig
For some reason, neither kernelci.org nor broonie's built bot include the stable/v4.1.y tree, but we do get reports for v4.1-rt, which unlike v4.4-rt show a number of warnings. Sasha, are you interested in backporting the fixes for these so we can eventually get a clean build and spot regressions more easily? A lot of these are just patches to shut up harmless warnings, but some also address real bugs.
Errors summary: 1 1 ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!
9d67dc5da59d ("genirq: Export handle_bad_irq")
Section Mismatches: WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit() WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit() WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x164): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
3c7b67f9065d ("staging: fsl-mc: section mismatch bug fix")
arm-multi_v5_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings: ../net/core/dev.c:2930:1: warning: no return statement in function returning non-void [-Wreturn-type]
This is a harmless bug introduced in -rt:
5acab7cf4e6bc (Sebastian Andrzej Siewior 2016-01-13 15:55:02 +0100 2927)static inline int xmit_rec_dec(void) 5acab7cf4e6bc (Sebastian Andrzej Siewior 2016-01-13 15:55:02 +0100 2928){ 5acab7cf4e6bc (Sebastian Andrzej Siewior 2016-01-13 15:55:02 +0100 2929) __this_cpu_dec(xmit_recursion); 5acab7cf4e6bc (Sebastian Andrzej Siewior 2016-01-13 15:55:02 +0100 2930)}
../include/linux/blkdev.h:625:26: warning: switch condition has boolean value [-Wswitch-bool]
10fbd36e362a ("blk: rq_data_dir() should not return a boolean")
../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function]
Here, upstream commit fac8e0f57969 ("tunnels: Don't apply GRO to multiple layers of encapsulation.") seems to have been incorrectly backported into v4.1.y commit 066b300e5be4.
I have not analyzed why the function is now unused, but in the original patch it is used, unlike in the backport.
../drivers/rtc/rtc-pcf8563.c:444:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
cd1420d3a909 ("rtc: pfc8563: fix uninitialized variable warning")
../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
22f44150aad7 ("brcmfmac: avoid gcc-5.1 warning")
../include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
I could not immediately find this one.
x86_64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings: ../arch/x86/kernel/cpu/mcheck/therm_throt.c:389:3: warning: right shift count >= width of type
I think this is 47edb65178cb ("x86/asm/msr: Make wrmsrl() a function")
Warnings: ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
This needs two patches, the first attempt introduced a regression
Fixes: 88e9da9a2a70 ("CNS3xxx: Fix PCI cns3xxx_write_config()") Fixes: 498a92d42596 ("ARM: cns3xxx: pci: avoid potential stack overflow")
../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
6ec0a86c645b ("ata: hpt366: fix constant cast warning")
../arch/arm/include/asm/cmpxchg.h:207:3: warning: value computed is not used [-Wunused-value]
not sure.
../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
8ec7cfce3762 ("ALSA: oxygen: Fix logical-not-parentheses warning")
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
b61e564af85b ("RDMA/cxgb4: re-fix 32-bit build warning")
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
not sure
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
not sure
../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined ../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined
ae1c75d6ce3a ("[media] coda: remove extraneous TRACE_SYSTEM_STRING")
../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
7e0d4e92269e ("[media] s3c-camif: fix compiler warnings")
../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
d80238bbcad3 ("rtc: armada38x: Remove unused variable from armada38x_rtc_set_time()")
../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
dd29dae00d39 ("be2iscsi: Fix bogus WARN_ON length check")
../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=] ../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable]
Commit 7359df25a533 ("qla2xxx: terminate exchange when command is aborted by LIO") got incorrectly backported into v4.1.y
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
e03c2da65742 ("ips: remove pointless #warning")
Arnd
Hey Arnd-
On Fri, Mar 17, 2017 at 09:21:35PM +0100, Arnd Bergmann wrote:
On Fri, Mar 10, 2017 at 8:54 PM, Build bot for Mark Brown broonie@kernel.org wrote:
defconfigs with issues (other than build errors): 36 warnings 3 mismatches : arm64-allmodconfig 4 warnings 0 mismatches : arm-multi_v5_defconfig 5 warnings 0 mismatches : arm-multi_v7_defconfig 3 warnings 0 mismatches : x86_64-defconfig 31 warnings 0 mismatches : arm-allmodconfig 2 warnings 0 mismatches : arm64-defconfig
For some reason, neither kernelci.org nor broonie's built bot include the stable/v4.1.y tree, but we do get reports for v4.1-rt, which unlike v4.4-rt show a number of warnings. Sasha, are you interested in backporting the fixes for these so we can eventually get a clean build and spot regressions more easily? A lot of these are just patches to shut up harmless warnings, but some also address real bugs.
I can't speak for Sasha, but I'd certainly like to see the RT-specific build warnings fixed, and have already began the process of doing so.
The 4.1.y powerpc build is actually broken for newer gccs. The fix is upstream as 1e407ee3b21f9 ("powerpc/ptrace: Fix out of bounds array access warning"). There are other build warnings on other architectures as well. I've resent the patch last week to stable folks, but was having mailer problems, so perhaps need to resend.
I'm also happy to hear that the 4.1-rt is getting build testing by the build bot. Is there any way I can be CC'd on build reports on this branch? Or, is the best way for me just to subscribe to the list?
[..]
../net/ipv6/ip6_offload.c:261:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function]
Here, upstream commit fac8e0f57969 ("tunnels: Don't apply GRO to multiple layers of encapsulation.") seems to have been incorrectly backported into v4.1.y commit 066b300e5be4.
I have not analyzed why the function is now unused, but in the original patch it is used, unlike in the backport.
It looks like this patch fixes a bug in commit feec0cb3f20b8 ("ipv6: gro: support sit protocol"), which didn't land until v4.4, so perhaps this patch can just be dropped from 4.1.y.
[..]
../include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
I could not immediately find this one.
I'm not sure if full logs are available somewhere, but the line above this is probably of more interest. For example:
drivers/tty/serial/amba-pl011.c: In function 'pl011_console_write': include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
Which looks like perhaps gcc is confused about the conditional locking/unlocking in this function.
Julia
PS. Apologies if I've mangled my reply, I've been having mail issues w/ vger recently, had to reconstruct Arnd's original email from an archive.
On Tue, Mar 21, 2017 at 9:10 PM, Julia Cartwright julia@ni.com wrote:
I'm also happy to hear that the 4.1-rt is getting build testing by the build bot. Is there any way I can be CC'd on build reports on this branch? Or, is the best way for me just to subscribe to the list?
The build results for this tree get sent to these three lists:
kernel-build-reports@lists.linaro.org, linaro-kernel@lists.linaro.org, linux-rt-users@vger.kernel.org
They should all be open for subscription.
../include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
I could not immediately find this one.
I'm not sure if full logs are available somewhere, but the line above this is probably of more interest. For example:
drivers/tty/serial/amba-pl011.c: In function 'pl011_console_write': include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
Which looks like perhaps gcc is confused about the conditional locking/unlocking in this function.
Mark might have a way of providing more verbose build logs, I don't think he has a web interface though. kernelci.org and http://arm-soc.lixom.net/buildlogs/ have some more logs, but don't build this tree.
It might be the exact warning you cite, I think I bisected this one in the past to an -rt specific commit and provided a patch, but it wasn't clear whether this was the best solution.
Arnd
On Tue, Mar 21, 2017 at 09:40:29PM +0100, Arnd Bergmann wrote:
On Tue, Mar 21, 2017 at 9:10 PM, Julia Cartwright julia@ni.com wrote:
drivers/tty/serial/amba-pl011.c: In function 'pl011_console_write': include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
Which looks like perhaps gcc is confused about the conditional locking/unlocking in this function.
Mark might have a way of providing more verbose build logs, I don't think he has a web interface though. kernelci.org and http://arm-soc.lixom.net/buildlogs/ have some more logs, but don't build this tree.
I do have https://builds.sirena.org.uk/ but it's just a dump of files.
On Fri, Mar 24, 2017 at 7:56 PM, Mark Brown broonie@kernel.org wrote:
On Tue, Mar 21, 2017 at 09:40:29PM +0100, Arnd Bergmann wrote:
On Tue, Mar 21, 2017 at 9:10 PM, Julia Cartwright julia@ni.com wrote:
drivers/tty/serial/amba-pl011.c: In function 'pl011_console_write': include/linux/spinlock.h:256:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
Which looks like perhaps gcc is confused about the conditional locking/unlocking in this function.
Mark might have a way of providing more verbose build logs, I don't think he has a web interface though. kernelci.org and http://arm-soc.lixom.net/buildlogs/ have some more logs, but don't build this tree.
I do have https://builds.sirena.org.uk/ but it's just a dump of files.
I get "access denied" on that.
Arnd
On Fri, Mar 24, 2017 at 07:59:40PM +0100, Arnd Bergmann wrote:
On Fri, Mar 24, 2017 at 7:56 PM, Mark Brown broonie@kernel.org wrote:
I do have https://builds.sirena.org.uk/ but it's just a dump of files.
I get "access denied" on that.
Oh, right - I turned off directory enumeration on it since people were doing silly things with it :/ I should have the full logs if they're useful though.
On Tue, Mar 21, 2017 at 03:10:00PM -0500, Julia Cartwright wrote:
On Fri, Mar 17, 2017 at 09:21:35PM +0100, Arnd Bergmann wrote:
I'm also happy to hear that the 4.1-rt is getting build testing by the build bot. Is there any way I can be CC'd on build reports on this branch? Or, is the best way for me just to subscribe to the list?
I can easily CC you on all RT build reports if that's OK? I'd have to fiddle with the scripts a bit to do it per branch which will take longer if that'd be too much noise (and of course if you want to join the list that'd work too and be even easier for me but it's definitely a lot of reports!).
linaro-kernel@lists.linaro.org