Skip to content

Replace memset with eth_zero_addr

Shraddha Barke outreachy 4 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/22 patches 0 repliesNew
  2. v3 posting 1/22 patches 5 repliesSuperseded
  3. v21 patch 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches1 replySuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Staging: wilc1000: wilc_wfi_cfgoperations: Replace memset with eth_zero_addrdrivers/staging/wilc1000/wilc_wfi_cfgoperations.c+3 -30 replies
2/2Staging: wilc1000: host_interface: Replace memset with eth_zero_addrdrivers/staging/wilc1000/host_interface.c+7 -60 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [RESEND PATCH v3 0/2] Replace memset with eth_zero_addr

These patches replace memset with eth_zero_addr. Change is made using Coccinelle script -

// <smpl>
@eth_zero_addr@
expression e;
@@

-memset(e,0x00,ETH_ALEN);
+eth_zero_addr(e);
// </smpl>

Changes in v3-
Added appropriate header file to the second patch.

Changes in v2-
Dropped second patch in series because it breaks the build

Shraddha Barke (2):
Staging: wilc1000: wilc_wfi_cfgoperations: Replace memset with
eth_zero_addr
Staging: wilc1000: host_interface: Replace memset with eth_zero_addr

 drivers/staging/wilc1000/host_interface.c         | 13 +++++++------
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c |  6 +++---
 2 files changed, 10 insertions(+), 9 deletions(-)
Signature · 1 line
2.1.4