Re: [PATCH] Raise the minimum required gcc version to 4.6

From: Geert Uytterhoeven
Date: Sat Dec 29 2018 - 09:26:01 EST


Hi Joe,

On Fri, Aug 24, 2018 at 12:00 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Thu, 2018-08-23 at 23:52 +0200, Geert Uytterhoeven wrote:
> > Does gcc 8.x gives again the same warnings as my venerable old gcc 4.1.2,
> > that no one else seems to see? Or will the real bugs I detect this way stay
> > unfixed? Polyculture is a good thing, also in compilers.
>
> I'm not sure I understand what you mean.
> Patches that fix defects and patches that fix warnings
> both generally get applied.

Sure, patches that fix bugs do get applied. But someone has to write
those patches first. And something has to trigger writing those patches.
If gcc 4.1.2 generates warning for real issues, but newer compilers do not,
we loose one of the many detectors of issues.

> > Reverted locally (incl. the follow-up), applied Andrew's fix, detected new
> > warnings in v4.18+, and sent patches where it makes sense...
>
> Thanks for that.

Given the rise of anonymous unions all over the place, I gave up, and
have upgraded from gcc 4.1.2 to 7.3.0 for cross-compiling m68k kernels.
One good things is that the kernel size for an atari_defconfig kernel dropped
by 3.7% or 163 KiB.

For the record, below is a list of differences in generated warnings.
Note that the source trees are not identical, as the tree used with
gcc-7.3.0 did not include any workarounds I needed for gcc-4.1.2.
All warnings flagged by gcc 4.1.2 should be false positives (iff I did a
good job during the last few years ;-)

I plan to repeat the exercise with gcc-8.2.0 (after v4.21-rc1 or so).

--- build.log.linux-4.20.0-atari-07795-g835f16c9b68966ff-gcc-4.1.2-20061115-prerelease-Ubuntu-4.1.1-21
+++ build.log.linux-4.20.0-atari-07767-gc085b9fd60f52a62-gcc-7.3.0-27ubuntu1~18.04

20 warning regressions:
+ arch/m68k/atari/config.c: warning: ISO C90 forbids variable length
array âswitchesâ [-Wvla]: => 151:2
+ arch/m68k/include/asm/cmpxchg.h: warning: value computed is not
used [-Wunused-value]: => 79:22, 122:3, 137:3
+ arch/m68k/include/asm/raw_io.h: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]: => 20:19, 33:35,
26:31, 30:32
+ arch/m68k/include/asm/string.h: warning: argument 2 null where
non-null expected [-Wnonnull]: => 72:25
+ arch/m68k/kernel/setup_mm.c: warning: #warning Are you building an
allnoconfig kernel? [-Wcpp]: => 51:2
+ arch/m68k/kernel/setup_mm.c: warning: #warning No CPU/platform
type selected, your kernel will not work! [-Wcpp]: => 50:2
+ arch/m68k/kernel/signal.c: warning: ISO C90 forbids variable
length array âbufâ [-Wvla]: => 654:3
+ arch/m68k/mvme147/config.c: warning: #warning check me! [-Wcpp]: => 150:2
+ arch/m68k/mvme16x/config.c: warning: #warning check me! [-Wcpp]: => 397:2
+ drivers/i2c/i2c-core-base.c: warning: âretâ may be used
uninitialized in this function [-Wmaybe-uninitialized]: => 235:5
+ drivers/input/joystick/analog.c: warning: #warning Precise timer
not defined for this architecture. [-Wcpp]: => 172:2
+ include/linux/dynamic_debug.h: warning: statement will never be
executed [-Wswitch-unreachable]: => 115:19
+ <stdin>: warning: #warning syscall io_pgetevents not implemented
[-Wcpp]: => 1333:2
+ <stdin>: warning: #warning syscall pkey_alloc not implemented
[-Wcpp]: => 1321:2
+ <stdin>: warning: #warning syscall pkey_free not implemented
[-Wcpp]: => 1324:2
+ <stdin>: warning: #warning syscall pkey_mprotect not implemented
[-Wcpp]: => 1318:2
+ <stdin>: warning: #warning syscall rseq not implemented [-Wcpp]: => 1336:2
+ <stdin>: warning: #warning syscall seccomp not implemented
[-Wcpp]: => 1240:2
+ warning: unmet direct dependencies detected for NEED_MULTIPLE_NODES: => N/A
+ warning: unmet direct dependencies detected for SND_SOC_QDSP6: => N/A

269 warning improvements:
- arch/m68k/kernel/setup_mm.c: warning: #warning Are you building an
allnoconfig kernel?: 51:2 =>
- arch/m68k/kernel/setup_mm.c: warning: #warning No CPU/platform
type selected, your kernel will not work!: 50:2 =>
- arch/m68k/mvme147/config.c: warning: #warning check me!: 150:2 =>
- arch/m68k/mvme16x/config.c: warning: #warning check me!: 397:2 =>
- drivers/ata/ahci_qoriq.c: warning: âpx_cmdâ may be used
uninitialized in this function: 86 =>
- drivers/ata/ahci_qoriq.c: warning: âpx_isâ may be used
uninitialized in this function: 86 =>
- drivers/ata/libata-scsi.c: warning: âncq_prio_enableâ may be used
uninitialized in this function: 283 =>
- drivers/ata/pata_legacy.c: warning: value computed is not used:
897, 914, 285, 407, 898, 283, 302, 373, 410, 280, 409, 408, 909, 899,
286, 901, 282, 900, 374, 902, 376, 375, 284, 915 =>
- drivers/ata/pata_legacy.c: warning: ârâ is used uninitialized in
this function: 1053 =>
- drivers/base/regmap/regcache-rbtree.c: warning: ânew_base_regâ may
be used uninitialized in this function: 393 =>
- drivers/base/regmap/regcache-rbtree.c: warning: ânew_top_regâ may
be used uninitialized in this function: 393 =>
- drivers/block/null_blk_main.c: warning: value computed is not used: 375 =>
- drivers/block/null_blk_main.c: warning: âsectorâ may be used
uninitialized in this function: 1157 =>
- drivers/block/null_blk_main.c: warning: âsizeâ may be used
uninitialized in this function: 1157 =>
- drivers/block/paride/ppc6lnx.c: warning: cast to pointer from
integer of different size: 142, 575, 144, 560, 430, 329, 537, 266,
235, 131, 201, 147, 145, 162, 146, 217 =>
- drivers/bluetooth/btqca.c: warning: ârom_verâ may be used
uninitialized in this function: 339 =>
- drivers/crypto/atmel-sha.c: warning: âkeylenâ may be used
uninitialized in this function: 1757 =>
- drivers/crypto/atmel-sha.c: warning: âkeyâ may be used
uninitialized in this function: 1758 =>
- drivers/dma/ti/omap-dma.c: warning: âport_window_bytesâ may be
used uninitialized in this function: 887 =>
- drivers/fsi/fsi-master-ast-cf.c: warning: âpâ may be used
uninitialized in this function: 443 =>
- drivers/gpio/gpio-grgpio.c: warning: âlirqâ may be used
uninitialized in this function: 290 =>
- drivers/gpu/drm/drm_edid.c: warning: âhdmi_lenâ may be used
uninitialized in this function: 3720 =>
- drivers/gpu/drm/drm_rect.c: warning: comparison is always true due
to limited range of data type: 106, 90, 114, 98 =>
- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c: warning: âsharpâ
may be used uninitialized in this function: 353 =>
- drivers/gpu/drm/selftests/drm_selftest.c: warning:
â__drm_subtestsâ defined but not used: 95 =>
- drivers/gpu/drm/udl/udl_modeset.c: warning: âregâ may be used
uninitialized in this function: 51 =>
- drivers/hwmon/sch56xx-common.c: warning: cast to pointer from
integer of different size: 145 =>
- drivers/hwmon/smsc47b397.c: warning: cast to pointer from integer
of different size: 119 =>
- drivers/i2c/i2c-core-base.c: warning: âretâ may be used
uninitialized in this function: 188 =>
- drivers/i3c/master/dw-i3c-master.c: warning: comparison is always
false due to limited range of data type: 837, 973 =>
- drivers/iio/accel/mma9551_core.c: warning: âpol_maskâ may be used
uninitialized in this function: 542 =>
- drivers/iio/adc/rcar-gyroadc.c: warning: âretâ may be used
uninitialized in this function: 341 =>
- drivers/iio/adc/ti-ads8688.c: warning: âiâ may be used
uninitialized in this function: 300 =>
- drivers/iio/adc/twl4030-madc.c: warning: comparison is always
false due to limited range of data type: 633 =>
- drivers/iio/dac/ad5064.c: warning: type qualifiers ignored on
function return type: 791 =>
- drivers/iio/light/hid-sensor-als.c: warning: âminâ may be used
uninitialized in this function: 96 =>
- drivers/iio/light/hid-sensor-prox.c: warning: âminâ may be used
uninitialized in this function: 76 =>
- drivers/iio/pressure/hid-sensor-press.c: warning: âminâ may be
used uninitialized in this function: 80 =>
- drivers/infiniband/core/uverbs_cmd.c: warning: âib_devâ may be
used uninitialized in this function: 985, 510 =>
- drivers/infiniband/core/uverbs_std_types.c: warning:
initialization from incompatible pointer type: 265, 232, 248, 252,
255, 228, 260, 220, 263, 235, 240, 243 =>
- drivers/infiniband/core/uverbs_std_types_counters.c: warning:
initialization from incompatible pointer type: 135, 147, 121, 128 =>
- drivers/infiniband/core/uverbs_std_types_cq.c: warning:
initialization from incompatible pointer type: 191, 201, 149 =>
- drivers/infiniband/core/uverbs_std_types_dm.c: warning:
initialization from incompatible pointer type: 101, 108, 88 =>
- drivers/infiniband/core/uverbs_std_types_flow_action.c: warning:
initialization from incompatible pointer type: 428, 404, 380, 435 =>
- drivers/infiniband/core/uverbs_std_types_mr.c: warning:
initialization from incompatible pointer type: 117, 146 =>
- drivers/infiniband/ulp/srpt/ib_srpt.c: warning: âprev_nentsâ may
be used uninitialized in this function: 889 =>
- drivers/input/joystick/analog.c: warning: #warning Precise timer
not defined for this architecture.: 172:2 =>
- drivers/input/mouse/pc110pad.c: warning: value computed is not used: 64 =>
- drivers/input/rmi4/rmi_driver.c: warning: comparison is always
false due to limited range of data type: 582 =>
- drivers/input/touchscreen/htcpen.c: warning: value computed is not
used: 87, 153 =>
- drivers/iommu/io-pgtable-arm-v7s.c: warning: âcptepâ may be used
uninitialized in this function: 434 =>
- drivers/macintosh/via-pmu.c: warning: âgpio1_interruptâ defined
but not used: 1707 =>
- drivers/md/bcache/alloc.c: warning: âbucketâ may be used
uninitialized in this function: 331 =>
- drivers/md/dm-stats.c: warning: âmultâ may be used uninitialized
in this function: 781 =>
- drivers/md/dm-zoned-metadata.c: warning: âdmapâ may be used
uninitialized in this function: 1305 =>
- drivers/md/raid10.c: warning: ârp_replâ may be used uninitialized
in this function: 204 =>
- drivers/media/cec/cec-api.c: warning: âev_idxâ may be used
uninitialized in this function: 301 =>
- drivers/media/i2c/mt9v111.c: warning: ânew_fmt.codeâ may be used
uninitialized in this function: 884 =>
- drivers/media/platform/vicodec/codec-fwht.c: warning: âstatâ may
be used uninitialized in this function: 808 =>
- drivers/media/platform/vivid/vivid-cec.c: warning: âbitâ may be
used uninitialized in this function: 69 =>
- drivers/media/usb/dvb-usb/pctv452e.c: warning: value computed is
not used: 922 =>
- drivers/mfd/lm3533-ctrlbank.c: warning: comparison is always false
due to limited range of data type: 129 =>
- drivers/misc/altera-stapl/altera-lpt.c: warning: cast to pointer
from integer of different size: 40, 34 =>
- drivers/mtd/nand/raw/fsmc_nand.c: warning: comparison is always
false due to limited range of data type: 324, 316, 309 =>
- drivers/mtd/nand/raw/nand_base.c: warning: âbest_ecc_bytesâ may be
used uninitialized in this function: 5264, 5345 =>
- drivers/mtd/nand/raw/nand_base.c: warning: âbest_stepâ may be used
uninitialized in this function: 5264 =>
- drivers/mtd/nand/raw/nand_base.c: warning: âbest_strengthâ may be
used uninitialized in this function: 5345, 5264 =>
- drivers/mtd/nand/raw/vf610_nfc.c: warning: âoffsetâ may be used
uninitialized in this function: 367 =>
- drivers/net/ethernet/8390/wd.c: warning: cast to pointer from
integer of different size: 289, 296 =>
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c: warning:
âoffsetâ may be used uninitialized in this function: 431 =>
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c: warning:
âpbuf_addrâ may be used uninitialized in this function: 424 =>
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c: warning: âsizeâ
may be used uninitialized in this function: 431 =>
- drivers/net/ethernet/broadcom/genet/bcmgenet.c: warning:
âtx_cb_ptrâ may be used uninitialized in this function: 1551 =>
- drivers/net/ethernet/freescale/fec_main.c: warning: âvlan_tagâ may
be used uninitialized in this function: 1369 =>
- drivers/net/ethernet/freescale/fec_ptp.c: warning: âcorr_incâ may
be used uninitialized in this function: 293 =>
- drivers/net/ethernet/freescale/fec_ptp.c: warning: âcorr_periodâ
may be used uninitialized in this function: 293 =>
- drivers/net/ethernet/hisilicon/hns/hns_enet.c: warning:
âlast_offsetâ may be used uninitialized in this function: 424 =>
- drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c: warning:
comparison is always false due to limited range of data type: 396 =>
- drivers/net/ethernet/stmicro/stmmac/dwmac5.c: warning:
âmin_prio_idxâ may be used uninitialized in this function: 378 =>
- drivers/net/ethernet/via/via-rhine.c: warning: âsd.dmaâ may be
used uninitialized in this function: 2121 =>
- drivers/net/gtp.c: warning: âpktinfo.fl4.daddrâ may be used
uninitialized in this function: 559 =>
- drivers/net/gtp.c: warning: âpktinfo.fl4.saddrâ may be used
uninitialized in this function: 559 =>
- drivers/net/gtp.c: warning: âpktinfo.gtph_portâ may be used
uninitialized in this function: 559 =>
- drivers/net/gtp.c: warning: âpktinfo.iphâ may be used
uninitialized in this function: 559 =>
- drivers/net/gtp.c: warning: âpktinfo.rtâ may be used uninitialized
in this function: 559 =>
- drivers/net/gtp.c: warning: âpktinfo.skâ may be used uninitialized
in this function: 559 =>
- drivers/net/ieee802154/adf7242.c: warning: âstatusâ may be used
uninitialized in this function: 509 =>
- drivers/net/macvlan.c: warning: âmodeâ may be used uninitialized
in this function: 1483 =>
- drivers/net/tun.c: warning: âcopylenâ may be used uninitialized in
this function: 1757 =>
- drivers/net/tun.c: warning: âlinearâ may be used uninitialized in
this function: 1753 =>
- drivers/net/wireless/ath/ath6kl/htc_pipe.c: warning: âpacketâ may
be used uninitialized in this function: 211 =>
- drivers/net/wireless/broadcom/b43/phy_n.c: warning: âidxâ may be
used uninitialized in this function: 3999 =>
- drivers/net/wireless/broadcom/b43/phy_n.c: warning: âval_addrâ may
be used uninitialized in this function: 174 =>
- drivers/net/wireless/broadcom/b43/radio_2057.c: warning: âsizeâ
may be used uninitialized in this function: 541 =>
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c: warning:
comparison is always false due to limited range of data type: 5432 =>
- drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c: warning:
âseq.head.nextâ is used uninitialized in this function: 515 =>
- drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c: warning:
âseq.head.prevâ is used uninitialized in this function: 515 =>
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c: warning:
âgf20_modeâ may be used uninitialized in this function: 1913 =>
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c: warning:
âgf40_modeâ may be used uninitialized in this function: 1913 =>
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c: warning:
âmm20_modeâ may be used uninitialized in this function: 1913 =>
- drivers/net/wireless/ralink/rt2x00/rt2800lib.c: warning:
âmm40_modeâ may be used uninitialized in this function: 1913 =>
- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: warning:
ârf_amodeâ may be used uninitialized in this function: 3438 =>
- drivers/net/wireless/st/cw1200/scan.c: warning: value computed is
not used: 335 =>
- drivers/net/wireless/st/cw1200/sta.c: warning: value computed is
not used: 143 =>
- drivers/net/wireless/ti/wl1251/main.c: warning: comparison is
always true due to limited range of data type: 907 =>
- drivers/net/wireless/ti/wl18xx/event.c: warning: comparison is
always true due to limited range of data type: 100 =>
- drivers/net/wireless/ti/wlcore/main.c: warning: comparison is
always true due to limited range of data type: 3523 =>
- drivers/nfc/nfcmrvl/i2c.c: warning: comparison is always false due
to limited range of data type: 52 =>
- drivers/nfc/trf7970a.c: warning: comparison is always false due to
limited range of data type: 767 =>
- drivers/of/overlay.c: warning: âfragmentâ may be used
uninitialized in this function: 183 =>
- drivers/of/unittest.c: warning: âoverlay_base_symbolsâ may be used
uninitialized in this function: 2313 =>
- drivers/scsi/imm.c: warning: cast to pointer from integer of
different size: 563, 305, 494, 247, 473, 303, 461, 463, 486, 465, 470,
467, 341 =>
- drivers/scsi/libfc/fc_elsct.c: warning: âfh_typeâ may be used
uninitialized in this function: 51 =>
- drivers/scsi/libfc/fc_elsct.c: warning: âr_ctlâ may be used
uninitialized in this function: 50 =>
- drivers/scsi/ppa.c: warning: cast to pointer from integer of
different size: 439, 399, 245, 436, 379, 257 =>
- drivers/scsi/scsi_debug.c: warning: value computed is not used: 1624 =>
- drivers/scsi/sd.c: warning: comparison is always false due to
limited range of data type: 2472 =>
- drivers/soc/qcom/rpmh.c: warning: âretâ may be used uninitialized
in this function: 355 =>
- drivers/soc/renesas/renesas-soc.c: warning: âesloâ may be used
uninitialized in this function: 290 =>
- drivers/spi/spi-npcm-pspi.c: warning: âmode_valâ may be used
uninitialized in this function: 113 =>
- drivers/spi/spi-uniphier.c: warning: âval1â may be used
uninitialized in this function: 117 =>
- drivers/spi/spi-uniphier.c: warning: âval2â may be used
uninitialized in this function: 117 =>
- drivers/staging/comedi/drivers/pcl816.c: warning: âlast_chanâ may
be used uninitialized in this function: 157 =>
- drivers/staging/comedi/drivers/pcl818.c: warning: âlast_chanâ may
be used uninitialized in this function: 347 =>
- drivers/staging/erofs/data.c: warning: âlast_blockâ may be used
uninitialized in this function: 377 =>
- drivers/staging/fbtft/fbtft-core.c: warning: âts_startâ may be
used uninitialized in this function: 349 =>
- drivers/staging/greybus/bootrom.c: warning: âoffsetâ may be used
uninitialized in this function: 247 =>
- drivers/staging/greybus/bootrom.c: warning: âsizeâ may be used
uninitialized in this function: 247 =>
- drivers/staging/rtl8188eu/hal/phy.c: warning: âpath_a_okâ may be
used uninitialized in this function: 954 =>
- drivers/staging/rtl8188eu/hal/phy.c: warning: âpath_b_okâ may be
used uninitialized in this function: 954 =>
- drivers/staging/rtl8712/rtl8712_recv.c: warning: ârx_pwr_allâ may
be used uninitialized in this function: 732 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning: previous
declaration of ârtw_clear_scan_denyâ was here: 618 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning: previous
declaration of ârtw_dec_to_roamâ was here: 681 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning: previous
declaration of ârtw_indicate_scan_doneâ was here: 602 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning: previous
declaration of ârtw_set_to_roamâ was here: 680 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning: previous
declaration of ârtw_to_roamâ was here: 682 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning:
ârtw_clear_scan_denyâ declared inline after being called: 618 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning:
ârtw_dec_to_roamâ declared inline after being called: 681 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning:
ârtw_indicate_scan_doneâ declared inline after being called: 602 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning:
ârtw_set_to_roamâ declared inline after being called: 680 =>
- drivers/staging/rtl8723bs/include/rtw_mlme.h: warning:
ârtw_to_roamâ declared inline after being called: 682 =>
- drivers/target/target_core_user.c: warning: âdbiâ may be used
uninitialized in this function: 676 =>
- drivers/tty/rocket_int.h: warning: cast to pointer from integer of
different size: 46, 73, 54, 68 =>
- drivers/tty/serial/8250/8250_core.c: warning: âiâ may be used
uninitialized in this function: 227 =>
- drivers/tty/serial/8250/8250_port.c: warning: âflagsâ may be used
uninitialized in this function: 3234 =>
- drivers/tty/serial/sh-sci.c: warning: âflagsâ may be used
uninitialized in this function: 2969 =>
- drivers/tty/serial/st-asc.c: warning: âflagsâ may be used
uninitialized in this function: 881 =>
- drivers/tty/serial/xilinx_uartps.c: warning: âflagsâ may be used
uninitialized in this function: 1177 =>
- drivers/tty/vt/keyboard.c: warning: comparison is always true due
to limited range of data type: 739 =>
- drivers/usb/dwc2/gadget.c: warning: âflagsâ may be used
uninitialized in this function: 4072 =>
- drivers/usb/dwc2/params.c: warning: comparison is always false due
to limited range of data type: 598 =>
- drivers/usb/gadget/function/f_hid.c: warning: comparison is always
false due to limited range of data type: 926, 925, 924 =>
- drivers/usb/gadget/function/uvc_configfs.c: warning: comparison is
always false due to limited range of data type: 1589, 1588, 1785, 204
=>
- drivers/usb/gadget/udc/aspeed-vhub/dev.c: warning: âmaxâ may be
used uninitialized in this function: 341 =>
- drivers/usb/gadget/udc/bdc/bdc_core.c: warning: âstatusâ may be
used uninitialized in this function: 34 =>
- drivers/usb/host/max3421-hcd.c: warning: âmax3421_hcdâ may be used
uninitialized in this function: 1864 =>
- drivers/usb/host/xhci-hub.c: warning: âssa_countâ may be used
uninitialized in this function: 58 =>
- drivers/video/fbdev/omap2/omapfb/dss/dispc.c: warning: âflagsâ may
be used uninitialized in this function: 282 =>
- fs/afs/dynroot.c: warning: âlenâ may be used uninitialized in this
function: 100 =>
- fs/btrfs/check-integrity.c: warning: ânext_bytenrâ may be used
uninitialized in this function: 843, 2213, 678 =>
- fs/btrfs/check-integrity.c: warning: âtmp_disk_key.objectidâ may
be used uninitialized in this function: 847 =>
- fs/btrfs/extent_io.c: warning: âtreeâ may be used uninitialized in
this function: 2486 =>
- fs/btrfs/inode.c: warning: âdisk_num_bytesâ may be used
uninitialized in this function: 1277 =>
- fs/btrfs/inode.c: warning: âextent_offsetâ may be used
uninitialized in this function: 1274 =>
- fs/btrfs/inode.c: warning: âram_bytesâ may be used uninitialized
in this function: 1278 =>
- fs/btrfs/ref-verify.c: warning: âretâ may be used uninitialized in
this function: 450, 514 =>
- fs/btrfs/tree-log.c: warning: âstart_slotâ may be used
uninitialized in this function: 4278 =>
- fs/ceph/file.c: warning: value computed is not used: 831 =>
- fs/cifs/connect.c: warning: ârcâ may be used uninitialized in this
function: 3960 =>
- fs/cifs/connect.c: warning: âsesâ may be used uninitialized in
this function: 3962 =>
- fs/cifs/connect.c: warning: âtconâ may be used uninitialized in
this function: 3963 =>
- fs/cifs/connect.c: warning: âxidâ may be used uninitialized in
this function: 3961 =>
- fs/cifs/smbdirect.c: warning: ârcâ may be used uninitialized in
this function: 2113 =>
- fs/dcache.c: warning: ânâ may be used uninitialized in this
function: 2709, 2544 =>
- fs/f2fs/data.c: warning: âflagsâ may be used uninitialized in this
function: 1341 =>
- fs/f2fs/data.c: warning: âlenâ may be used uninitialized in this
function: 1340 =>
- fs/f2fs/file.c: warning: âerrâ may be used uninitialized in this
function: 2926 =>
- fs/f2fs/node.c: warning: âheadâ may be used uninitialized in this
function: 237 =>
- fs/f2fs/node.c: warning: ânat_blkâ may be used uninitialized in
this function: 2730 =>
- fs/iomap.c: warning: value computed is not used: 1531 =>
- fs/nfs/callback_xdr.c: warning: âop_nrâ may be used uninitialized
in this function: 880 =>
- fs/nfs/nfs3acl.c: warning: value computed is not used: 44 =>
- fs/nfs/nfs3proc.c: warning: value computed is not used: 798 =>
- fs/nfsd/nfs4xdr.c: warning: ânextâ may be used uninitialized in
this function: 2065 =>
- fs/ocfs2/file.c: warning: value computed is not used: 2386 =>
- fs/ocfs2/file.c: warning: âhad_lockâ may be used uninitialized in
this function: 1136 =>
- fs/posix_acl.c: warning: value computed is not used: 147 =>
- fs/proc/inode.c: warning: âpdeoâ may be used uninitialized in this
function: 341 =>
- fs/splice.c: warning: âretâ may be used uninitialized in this
function: 695 =>
- fs/udf/super.c: warning: âmapâ may be used uninitialized in this
function: 1197 =>
- fs/udf/unicode.c: warning: âcâ may be used uninitialized in this
function: 98 =>
- fs/xfs/libxfs/xfs_sb.c: warning: âerrorâ may be used uninitialized
in this function: 877 =>
- fs/xfs/scrub/repair.c: warning: âfreelenâ may be used
uninitialized in this function: 203 =>
- fs/xfs/scrub/repair.c: warning: âusedlenâ may be used
uninitialized in this function: 202 =>
- fs/xfs/xfs_buf.c: warning: value computed is not used: 1319 =>
- fs/xfs/xfs_log_recover.c: warning: âuuidâ may be used
uninitialized in this function: 2272 =>
- include/linux/net_dim.h: warning: âcurr_stats.bpmsâ may be used
uninitialized in this function: 390 =>
- include/linux/net_dim.h: warning: âcurr_stats.epmsâ may be used
uninitialized in this function: 390 =>
- include/linux/net_dim.h: warning: âcurr_stats.ppmsâ may be used
uninitialized in this function: 390 =>
- include/linux/sbitmap.h: warning: value computed is not used: 491 =>
- include/linux/sunrpc/xdr.h: warning: âlenâ may be used
uninitialized in this function: 480, 512 =>
- ipc/shm.c: warning: âfileâ may be used uninitialized in this
function: 1608 =>
- ipc/util.c: warning: comparison is always false due to limited
range of data type: 220 =>
- kernel/acct.c: warning: value computed is not used: 177 =>
- kernel/bpf/verifier.c: warning: âprev_offsetâ may be used
uninitialized in this function: 4813 =>
- kernel/cgroup/cgroup-v1.c: warning: ârootâ may be used
uninitialized in this function: 1114 =>
- kernel/printk/printk.c: warning: âoldâ may be used uninitialized
in this function: 161 =>
- kernel/time/timekeeping.c: warning: comparison is always false due
to limited range of data type: 2298, 2300 =>
- kernel/time/timekeeping.c: warning: âcs_was_changed_seqâ may be
used uninitialized in this function: 1124 =>
- lib/assoc_array.c: warning: âjâ may be used uninitialized in this
function: 490 =>
- lib/errseq.c: warning: value computed is not used: 200 =>
- lib/mpi/mpicoder.c: warning: âbuffâ may be used uninitialized in
this function: 336 =>
- lib/rhashtable.c: warning: ânextâ may be used uninitialized in
this function: 229 =>
- lib/sbitmap.c: warning: value computed is not used: 451 =>
- lib/test_overflow.c: warning: comparison is always false due to
limited range of data type: 415, 327, 328, 383, 330, 449, 381, 324,
453, 353, 425, 452, 413, 439, 323, 326, 448, 367, 329, 437, 366, 325,
427, 352 =>
- mm/ksm.c: warning: âfound_rmap_hlist_lenâ may be used
uninitialized in this function: 1367 =>
- mm/ksm.c: warning: âstable_nodeâ may be used uninitialized in this
function: 1808 =>
- mm/memcontrol.c: warning: value computed is not used: 1047 =>
- mm/page-writeback.c: warning: âfilepagesâ is used uninitialized in
this function: 1952, 1624 =>
- mm/page-writeback.c: warning: âheadroomâ is used uninitialized in
this function: 1952, 1624 =>
- mm/page-writeback.c: warning: âwritebackâ is used uninitialized in
this function: 1623 =>
- mm/page_isolation.c: warning: âorderâ may be used uninitialized in
this function: 96 =>
- mm/shmem.c: warning: comparison is always false due to limited
range of data type: 1604 =>
- mm/zswap.c: warning: âretâ may be used uninitialized in this
function: 860 =>
- net/batman-adv/netlink.c: warning: âmsg_headâ may be used
uninitialized in this function: 337, 196 =>
- net/bluetooth/l2cap_core.c: warning: comparison is always false
due to limited range of data type: 3820 =>
- net/bridge/br_netlink.c: warning: âerrâ may be used uninitialized
in this function: 591 =>
- net/ceph/ceph_fs.c: warning: âmodeâ may be used uninitialized in
this function: 59 =>
- net/core/dev.c: warning: âtailâ may be used uninitialized in this
function: 3389 =>
- net/core/filter.c: warning: value computed is not used: 3469 =>
- net/core/rtnetlink.c: warning: âivvl[0]â may be used uninitialized
in this function: 2214 =>
- net/core/sock.c: warning: value computed is not used: 1003 =>
- net/hsr/hsr_device.c: warning: âhsr_tagâ may be used uninitialized
in this function: 259 =>
- net/ieee802154/6lowpan/rx.c: warning: comparison is always true
due to limited range of data type: 251 =>
- net/ieee802154/nl802154.c: warning: âwpan_dev_idâ may be used
uninitialized in this function: 49 =>
- net/ipv4/ipmr.c: warning: âucâ may be used uninitialized in this
function: 1224 =>
- net/ipv4/tcp_bbr.c: warning: value computed is not used: 935 =>
- net/ipv4/tcp_input.c: warning: âlast_acktâ may be used
uninitialized in this function: 3049 =>
- net/ipv6/ip6mr.c: warning: âucâ may be used uninitialized in this
function: 1405 =>
- net/mac80211/ht.c: warning: âsmps_modeâ may be used uninitialized
in this function: 141 =>
- net/mac80211/mesh_pathtbl.c: warning: âmpathâ may be used
uninitialized in this function: 417 =>
- net/mac80211/mlme.c: warning: âpwr_level_80211hâ may be used
uninitialized in this function: 1479 =>
- net/mac80211/tdls.c: warning: âsubband_startâ may be used
uninitialized in this function: 78 =>
- net/mac80211/tx.c: warning: âchanctx_confâ may be used
uninitialized in this function: 2452 =>
- net/ncsi/ncsi-manage.c: warning: âvidâ is used uninitialized in
this function: 661 =>
- net/ncsi/ncsi-netlink.c: warning: âchannel_idâ may be used
uninitialized in this function: 275 =>
- net/netfilter/nf_conntrack_core.c: warning: âbucketâ may be used
uninitialized in this function: 1078 =>
- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c: warning: âpositionâ may
be used uninitialized in this function: 398 =>
- net/tipc/socket.c: warning: âcopyâ may be used uninitialized in
this function: 1734 =>
- net/tls/tls_sw.c: warning: âcontrolâ may be used uninitialized in
this function: 1479 =>
- net/wireless/nl80211.c: warning: âwdev_idâ may be used
uninitialized in this function: 71 =>
- security/apparmor/policy_unpack.c: warning: âposâ may be used
uninitialized in this function: 467 =>
- sound/firewire/motu/amdtp-motu.c: warning: âcopy_messageâ defined
but not used: 288 =>
- sound/firewire/motu/amdtp-motu.c: warning: âcopy_sphâ defined but
not used: 274 =>
- sound/soc/codecs/arizona.c: warning: âaif_rx_stateâ may be used
uninitialized in this function: 1793 =>
- sound/soc/codecs/arizona.c: warning: âaif_tx_stateâ may be used
uninitialized in this function: 1793 =>
- sound/soc/codecs/da7219-aad.c: warning: âpll_ctrlâ may be used
uninitialized in this function: 121 =>
- sound/soc/codecs/rt5665.c: warning: âval1â may be used
uninitialized in this function: 2634 =>
- sound/soc/codecs/rt5665.c: warning: âval2â may be used
uninitialized in this function: 2634 =>
- sound/soc/codecs/wm8996.c: warning: âbclk_regâ may be used
uninitialized in this function: 1538 =>
- sound/soc/xtensa/xtfpga-i2s.c: warning: value computed is not used: 172 =>
- <stdin>: warning: #warning syscall LD [M]
net/netfilter/xt_iprange.ko: 1240:2 =>
- <stdin>: warning: #warning syscall io_pgetevents not implemented: 1333:2 =>
- <stdin>: warning: #warning syscall pkey_alloc not implemented: 1321:2 =>
- <stdin>: warning: #warning syscall pkey_free not implemented: 1324:2 =>
- <stdin>: warning: #warning syscall pkey_mprotect not implemented: 1318:2 =>
- <stdin>: warning: #warning syscall rseq not implemented: 1336:2 =>
- <stdin>: warning: #warning syscall seccomp not implemented: 1240:2 =>
- {standard input}: Warning: expression out of range: defaulting to
0: 2955, 2956 =>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds