Skip to content

gcc-10 warning fixes

Arnd Bergmann ath10k bpf linux-crypto linux-media linux-nvme linux-scsi linux-usb linux-wireless lkml netdev netfilter-devel 1 version Applied

Status from this message: Applied to bpf-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 24 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15crypto - Avoid free() namespace collisioncrypto/lrw.c crypto/xts.c+6 -61 reply
2/15iwlwifi: mvm: fix gcc-10 zero-length-bounds warningdrivers/net/wireless/intel/iwlwifi/fw/api/tx.h+7 -71 reply
3/15mwifiex: avoid -Wstringop-overflow warningdrivers/net/wireless/marvell/mwifiex/sta_cmd.c+16 -231 reply
4/15ath10k: fix gcc-10 zero-length-bounds warningsdrivers/net/wireless/ath/ath10k/htt.h+2 -25 replies
5/15bpf: avoid gcc-10 stringop-overflow warninginclude/linux/filter.h+2 -41 reply
6/15netfilter: conntrack: avoid gcc-10 zero-length-bounds warninginclude/net/netfilter/nf_conntrack.h net/netfilter/nf_conntrack_core.c+3 -31 reply
7/15drop_monitor: work around gcc-10 stringop-overflow warningnet/core/drop_monitor.c+7 -41 reply
8/15usb: ehci: avoid gcc-10 zero-length-bounds warninginclude/linux/usb/ehci_def.h+8 -43 replies
9/15udf: avoid gcc-10 zero-length-bounds warningsfs/udf/ecma_167.h fs/udf/super.c+2 -24 replies
10/15hpfs: avoid gcc-10 zero-length-bounds warningfs/hpfs/anode.c+5 -20 replies
11/15omfs: avoid gcc-10 stringop-overflow warningfs/omfs/file.c fs/omfs/omfs_fs.h+7 -70 replies
12/15media: s5k5baf: avoid gcc-10 zero-length-bounds warningdrivers/media/i2c/s5k5baf.c+2 -21 reply
13/15scsi: sas: avoid gcc-10 zero-length-bounds warningdrivers/scsi/aic94xx/aic94xx_tmf.c drivers/scsi/libsas/sas_task.c+5 -24 replies
14/15isci: avoid gcc-10 zero-length-bounds warningdrivers/scsi/isci/task.h+3 -40 replies
15/15nvme: avoid gcc-10 zero-length-bounds warningdrivers/nvme/host/fc.c+1 -11 reply

Reviews trailers per patch

3 of 15 patches have a Reviewed-by or Acked-by.

PatchJohn GarryNeil HormanPali Rohár
1/15
2/15
3/15
4/15
5/15
6/15
7/15A-b
8/15
9/15A-b
10/15
11/15
12/15
13/15R-b
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/15] gcc-10 warning fixes

Here are a couple of fixes for warnings introduced with gcc-10. If you wish to reproduce these, you can find the compiler I used at [1].

If you like the fixes, please apply them directly into maintainer trees. I expect that we will also need them to be backported into stable kernels later.

I disabled -Wrestrict on gcc in my local test tree, but with the patches from this series and the ones I have already sent, I see no gcc-10 specific warnings in linux-next when doing many randconfig builds for arm/arm64/x86.

Arnd

Arnd Bergmann (15):
crypto - Avoid free() namespace collision
iwlwifi: mvm: fix gcc-10 zero-length-bounds warning
mwifiex: avoid -Wstringop-overflow warning
ath10k: fix gcc-10 zero-length-bounds warnings
bpf: avoid gcc-10 stringop-overflow warning
netfilter: conntrack: avoid gcc-10 zero-length-bounds warning
drop_monitor: work around gcc-10 stringop-overflow warning
usb: ehci: avoid gcc-10 zero-length-bounds warning
udf: avoid gcc-10 zero-length-bounds warnings
hpfs: avoid gcc-10 zero-length-bounds warning
omfs: avoid gcc-10 stringop-overflow warning
media: s5k5baf: avoid gcc-10 zero-length-bounds warning
scsi: sas: avoid gcc-10 zero-length-bounds warning
isci: avoid gcc-10 zero-length-bounds warning
nvme: avoid gcc-10 zero-length-bounds warning

 crypto/lrw.c                                  |  6 +--
 crypto/xts.c                                  |  6 +--
 drivers/media/i2c/s5k5baf.c                   |  4 +-
 drivers/net/wireless/ath/ath10k/htt.h         |  4 +-
 .../net/wireless/intel/iwlwifi/fw/api/tx.h    | 14 +++----
 .../net/wireless/marvell/mwifiex/sta_cmd.c    | 39 ++++++++-----------
 drivers/nvme/host/fc.c                        |  2 +-
 drivers/scsi/aic94xx/aic94xx_tmf.c            |  4 +-
 drivers/scsi/isci/task.h                      |  7 ++--
 drivers/scsi/libsas/sas_task.c                |  3 +-
 fs/hpfs/anode.c                               |  7 +++-
 fs/omfs/file.c                                | 12 +++---
 fs/omfs/omfs_fs.h                             |  2 +-
 fs/udf/ecma_167.h                             |  2 +-
 fs/udf/super.c                                |  2 +-
 include/linux/filter.h                        |  6 +--
 include/linux/usb/ehci_def.h                  | 12 ++++--
 include/net/netfilter/nf_conntrack.h          |  2 +-
 net/core/drop_monitor.c                       | 11 ++++--
 net/netfilter/nf_conntrack_core.c             |  4 +-
 20 files changed, 76 insertions(+), 73 deletions(-)

[1] https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/10.0.20200413/

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Kalle Valo <[email protected]>
Cc Johannes Berg <[email protected]>
Cc Intel Linux Wireless <[email protected]>
Cc Amitkumar Karwar <[email protected]>
Cc James Smart <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Cc Mikulas Patocka <[email protected]>
Cc Bob Copeland <[email protected]>
Cc Jan Kara <[email protected]>
Cc Alexei Starovoitov <[email protected]>
Cc Daniel Borkmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Pablo Neira Ayuso <[email protected]>
Cc Florian Westphal <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Neil Horman <[email protected]>
Signature · 7 lines
2.26.0


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k