Skip to content

net: aquantia: minor bug fixes after static analysis

Igor Russkikh netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v15 patches 7 repliesSuperseded

Changes in v2 from the cover letter

use readx_poll
resubmitted to net-next since the changeset became quite big.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: aquantia: fixed memcpy sizedrivers/net/ethernet/aquantia/atlantic/aq_ethtool.c+1 -10 replies
2/6net: aquantia: added newline at end of filedrivers/net/ethernet/aquantia/atlantic/aq_nic.c+1 -10 replies
3/6net: aquantia: fixed buffer overflowdrivers/net/ethernet/aquantia/atlantic/aq_pci_func.c+2 -00 replies
4/6net: aquantia: fixed instack structure overflowdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c+4 -40 replies
5/6net: aquantia: replace AQ_HW_WAIT_FOR with readx_poll_timeout_atomicdrivers/net/ethernet/aquantia/atlantic/aq_hw_utils.h drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c +5 more+184 -720 replies
6/6net: aquantia: use better wrappers for state registersdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/6] net: aquantia: minor bug fixes after static analysis

This patchset fixes minor errors and warnings found by smatch and kasan.

Extra patch is to replace AQ_HW_WAIT_FOR with readx_poll_timeout to improve readability.

V2:
use readx_poll
resubmitted to net-next since the changeset became quite big.

Igor Russkikh (1):
net: aquantia: fixed instack structure overflow

Nikita Danilov (5):
net: aquantia: fixed memcpy size
net: aquantia: added newline at end of file
net: aquantia: fixed buffer overflow
net: aquantia: replace AQ_HW_WAIT_FOR with readx_poll_timeout_atomic
net: aquantia: use better wrappers for state registers

 .../ethernet/aquantia/atlantic/aq_ethtool.c   |   2 +-
 .../ethernet/aquantia/atlantic/aq_hw_utils.h  |  14 +--
 .../net/ethernet/aquantia/atlantic/aq_nic.c   |   2 +-
 .../ethernet/aquantia/atlantic/aq_pci_func.c  |   2 +
 .../aquantia/atlantic/hw_atl/hw_atl_a0.c      |  25 ++--
 .../aquantia/atlantic/hw_atl/hw_atl_b0.c      |  16 ++-
 .../aquantia/atlantic/hw_atl/hw_atl_llh.c     |  21 ++++
 .../aquantia/atlantic/hw_atl/hw_atl_llh.h     |  12 ++
 .../atlantic/hw_atl/hw_atl_llh_internal.h     |   2 +
 .../aquantia/atlantic/hw_atl/hw_atl_utils.c   | 116 ++++++++++++------
 .../atlantic/hw_atl/hw_atl_utils_fw2x.c       |  68 +++++++---
 11 files changed, 197 insertions(+), 83 deletions(-)
Signature · 1 line
2.17.1