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(-) -- 2.17.1