Skip to content

eea: Improvements in the driver

Andy Shevchenko lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review 4 of 5 applied
  2. v11 patch 1 replySuperseded

Patches in v2 4 of 5 applied

#Subject and filesSizeRepliesApplied
1/5eea: Drop temporary buffer by using %*pEhp directlydrivers/net/ethernet/alibaba/eea/eea_adminq.c+2 -92 repliesApplied
2/5eea: Remove unneeded assignmentdrivers/net/ethernet/alibaba/eea/eea_adminq.c+4 -31 replyApplied
3/5eea: Refactor error handling in eea_adminq_config_host_info()drivers/net/ethernet/alibaba/eea/eea_adminq.c+9 -81 replyApplied
4/5eea: unify return code variable namedrivers/net/ethernet/alibaba/eea/eea_adminq.c+17 -172 replies
5/5eea: Use 2-argument strscpy()drivers/net/ethernet/alibaba/eea/eea_adminq.c drivers/net/ethernet/alibaba/eea/eea_ethtool.c+4 -41 replyApplied

Reviews trailers per patch

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

PatchJoe Damato
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] eea: Improvements in the driver

My attention was caught by the explicit call of string_escape_str() which is not required in this case and saves a lot of memory on the stack (see patch 1). But then I noticed more to improve, hence this mini-series.

In v2:
- addressed Sashiko conserns
- added patches 2-5

v1: [email protected]

Andy Shevchenko (5):
eea: Drop temporary buffer by using %*pEhp directly
eea: Remove unneeded assignment
eea: Refactor error handling in eea_adminq_config_host_info()
eea: unify return code variable name
eea: Use 2-argument strscpy()

 drivers/net/ethernet/alibaba/eea/eea_adminq.c | 65 +++++++++----------
 .../net/ethernet/alibaba/eea/eea_ethtool.c    |  4 +-
 2 files changed, 32 insertions(+), 37 deletions(-)
Signature · 1 line
2.50.1