Skip to content

wifi: ath: false-positive fortified-memset warnings

Arnd Bergmann linux-hardening linux-wireless lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: carl9170: re-fix fortified-memset warningdrivers/net/wireless/ath/carl9170/tx.c+2 -13 replies
2/2wifi: ath9k: work around memset overflow warningdrivers/net/wireless/ath/ath.h drivers/net/wireless/ath/ath9k/main.c+5 -42 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchToke Høiland-JørgensenKees CookChristian Lamparter
1/2R-b A-b
2/2A-b R-b

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 0/2] wifi: ath: false-positive fortified-memset warnings

From: Arnd Bergmann <[email protected]>

While testing some other patch series I worked on across gcc versions, I found a couple of stringop warnings that only show up with some toolchains but not others. The warnings I both seem to be false positive.

I have also not found an explanation why both of these happen in atheros wireless drivers, as I don't see this in other drivers.

Maybe Kees can work out what is going on here.

Arnd Bergmann (2):
[RESEND] carl9170: re-fix fortified-memset warning
ath9k: work around memset overflow warning

 drivers/net/wireless/ath/ath.h         | 6 ++++--
 drivers/net/wireless/ath/ath9k/main.c  | 3 +--
 drivers/net/wireless/ath/carl9170/tx.c | 3 ++-
 3 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.39.2