All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Replace memset with eth_zero_addr
@ 2015-10-05  6:30 Shraddha Barke
  2015-10-05  6:30 ` [PATCH v3 1/2] Staging: wilc1000: wilc_wfi_cfgoperations: " Shraddha Barke
  2015-10-05  6:30 ` [PATCH v3 2/2] Staging: wilc1000: host_interface: " Shraddha Barke
  0 siblings, 2 replies; 8+ messages in thread
From: Shraddha Barke @ 2015-10-05  6:30 UTC (permalink / raw)
  To: outreachy-kernel

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

-- 
2.1.4



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-05 11:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05  6:30 [PATCH v3 0/2] Replace memset with eth_zero_addr Shraddha Barke
2015-10-05  6:30 ` [PATCH v3 1/2] Staging: wilc1000: wilc_wfi_cfgoperations: " Shraddha Barke
2015-10-05  9:53   ` [Outreachy kernel] " Greg KH
2015-10-05 10:28     ` Julia Lawall
2015-10-05 10:44       ` Greg KH
2015-10-05 10:49         ` Julia Lawall
2015-10-05 11:06           ` Greg KH
2015-10-05  6:30 ` [PATCH v3 2/2] Staging: wilc1000: host_interface: " Shraddha Barke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.