Skip to contentSkip to conversation

mainline build: 137 builds: 0 failed, 137 passed, 296 warnings (v4.4-10454-g3e1e21c7bfcf)

DISCUSSION Arnd Bergmann 4 participants 5 messages Jan 22, 2016 – Jan 26, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · On Thursday 21 January 2016 22:14:26 kernelci. org bot wrote:

Warnings summary:

224 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]

I don't think anyone has sent this so far, sending a patch now.

Quoted 1 line

29 drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

Patch sent a couple of days ago, got an Ack and waiting to be applied.

Quoted 2 lines

12 net/bluetooth/mgmt.c:5493:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 net/bluetooth/mgmt.c:5493:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]

This happens only in gcc-4.7 and gcc-4.8

Quoted 2 lines
      5  crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      1  crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]

and this one only in gcc-4.7

Any chance we can update the toolchain on kernelci.org to 4.9 or higher? I'm normally testing with gcc-5.2, which has a little better warnings.

Quoted 1 line
      2  drivers/gpu/drm/gma500/cdv_intel_dp.c:868:2: warning: 'i2c_dp_aux_add_bus' is deprecated (declared at ../drivers/gpu/drm/gma500/cdv_intel_dp.c:224) [-Wdeprecated-declarations]

x86-only, I'm not touching this.

Quoted 1 line

2 /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer [enabled by default]

also x86-only, I don't even know what this comes from.

Quoted 5 lines

1 mm/page_alloc.c:5707:34: warning: array subscript is below array bounds [-Warray-bounds]

1 drivers/soc/qcom/spm.c:305:5: warning: 'found' may be used uninitialized in this function [-Wuninitialized]

Added a patch to arm-soc/fixes.

Quoted 1 line

1 drivers/net/ethernet/marvell/mvneta.c:2910:30: warning: unused variable 'other_port' [-Wunused-variable]

Sent a patch to netdev today.

Quoted 6 lines
      1  .config:930:warning: override: NOHIGHMEM changes choice state
      1  .config:929:warning: override: SLOB changes choice state
      1  .config:927:warning: override: KERNEL_XZ changes choice state
      1  .config:884:warning: override: SLOB changes choice state
      1  .config:839:warning: override: SLOB changes choice state
      1  .config:837:warning: override: KERNEL_XZ changes choice state

Interesting: "make tinyconfig" first calls "make allnoconfig" and then calls "make tiny.config", which in turn calls

scripts/kconfig/merge_config.sh -m .config kernel/configs/tiny.config

and this overrides some choice statements, causing the warning. A better command would be

scripts/kconfig/merge_config.sh -n kernel/configs/tiny.config

which has the same effect but avoids the warning. Need to think about this some more.

Arnd

#2 lore raw
Quoted 16 lines · Arnd Bergmann
Quoted 3 lines · On Thursday 21 January 2016 22:14:26 kernelci. org bot wrote:

Warnings summary:

224 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]

I don't think anyone has sent this so far, sending a patch now.

Quoted 1 line

29 drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

Patch sent a couple of days ago, got an Ack and waiting to be applied.

Quoted 2 lines

12 net/bluetooth/mgmt.c:5493:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 net/bluetooth/mgmt.c:5493:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]

This happens only in gcc-4.7 and gcc-4.8

Quoted 7 lines
Quoted 2 lines
      5  crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      1  crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]

and this one only in gcc-4.7

Any chance we can update the toolchain on kernelci.org to 4.9 or higher? I'm normally testing with gcc-5.2, which has a little better warnings.

I'm ok with upgrading to 4.9 or higher. Kevin any issues with this?

#3 lore raw
Quoted 20 lines · Tyler Baker
Quoted 19 lines · Arnd Bergmann
Quoted 3 lines · On Thursday 21 January 2016 22:14:26 kernelci. org bot wrote:

Warnings summary:

224 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]

I don't think anyone has sent this so far, sending a patch now.

Quoted 1 line

29 drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

Patch sent a couple of days ago, got an Ack and waiting to be applied.

Quoted 2 lines

12 net/bluetooth/mgmt.c:5493:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 net/bluetooth/mgmt.c:5493:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]

This happens only in gcc-4.7 and gcc-4.8

Quoted 2 lines
      5  crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      1  crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Quoted 6 lines
Quoted 4 lines

and this one only in gcc-4.7

Any chance we can update the toolchain on kernelci.org to 4.9 or higher? I'm normally testing with gcc-5.2, which has a little better warnings.

I'm ok with upgrading to 4.9 or higher. Kevin any issues with this?

No objection in principle, but we probably can't do this across the board without fallout.

I suspect we'll have issues with older stable kernels that have never been compiled with > 4.7, but I haven't actually tried.

Kevin

#4 lore raw
Quoted 27 lines · On Monday 25 January 2016 10:18:56 Kevin Hilman wrote:
Quoted 25 lines · Tyler Baker
Quoted 23 lines · Arnd Bergmann
Quoted 3 lines · On Thursday 21 January 2016 22:14:26 kernelci. org bot wrote:

Warnings summary:

224 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]

I don't think anyone has sent this so far, sending a patch now.

Quoted 1 line

29 drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

Patch sent a couple of days ago, got an Ack and waiting to be applied.

Quoted 2 lines

12 net/bluetooth/mgmt.c:5493:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 net/bluetooth/mgmt.c:5493:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]

This happens only in gcc-4.7 and gcc-4.8

Quoted 2 lines
      5  crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      1  crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]

and this one only in gcc-4.7

Any chance we can update the toolchain on kernelci.org to 4.9 or higher? I'm normally testing with gcc-5.2, which has a little better warnings.

Quoted 8 lines
Quoted 1 line

I'm ok with upgrading to 4.9 or higher. Kevin any issues with this?

No objection in principle, but we probably can't do this across the board without fallout.

I suspect we'll have issues with older stable kernels that have never been compiled with > 4.7, but I haven't actually tried.

My guess is that there is very little of that. We had one issues with gcc-4.8 through 4.8.2 generating bad code, but aside of that I don't remember a recent case where a newer compiler broke stuff.

There might be a couple of extra warnings in older kernels, but I've tried to ensure that all new warnings that got introduced from more recent gcc versions are fixed mainline kernels.

Arnd

#5 lore raw
Quoted 37 lines · Arnd Bergmann
Quoted 27 lines · On Monday 25 January 2016 10:18:56 Kevin Hilman wrote:
Quoted 25 lines · Tyler Baker
Quoted 23 lines · Arnd Bergmann
Quoted 3 lines · On Thursday 21 January 2016 22:14:26 kernelci. org bot wrote:

Warnings summary:

224 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]

I don't think anyone has sent this so far, sending a patch now.

Quoted 1 line

29 drivers/tty/serial/amba-pl011.c:190:27: warning: 'vendor_zte' defined but not used [-Wunused-variable]

Patch sent a couple of days ago, got an Ack and waiting to be applied.

Quoted 2 lines

12 net/bluetooth/mgmt.c:5493:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized] 12 net/bluetooth/mgmt.c:5493:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]

This happens only in gcc-4.7 and gcc-4.8

Quoted 2 lines
      5  crypto/wp512.c:987:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      1  crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]

and this one only in gcc-4.7

Any chance we can update the toolchain on kernelci.org to 4.9 or higher? I'm normally testing with gcc-5.2, which has a little better warnings.

Quoted 8 lines
Quoted 1 line

I'm ok with upgrading to 4.9 or higher. Kevin any issues with this?

No objection in principle, but we probably can't do this across the board without fallout.

I suspect we'll have issues with older stable kernels that have never been compiled with > 4.7, but I haven't actually tried.

Quoted 7 lines

My guess is that there is very little of that. We had one issues with gcc-4.8 through 4.8.2 generating bad code, but aside of that I don't remember a recent case where a newer compiler broke stuff.

There might be a couple of extra warnings in older kernels, but I've tried to ensure that all new warnings that got introduced from more recent gcc versions are fixed mainline kernels.

OK, and I guess if we find any breakage, fixes should be submitted to stable anyways, so I'm OK with the change.

Kevin