linux-sg2042/drivers/infiniband
Amitoj Kaur Chawla db9314cd35 IB/core: Replace memset with eth_zero_addr
Use eth_zero_addr to assign the zero address to the given address
array instead of memset when second argument is address of zero.

The Coccinelle semantic patch used to make this change is as follows:

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

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

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-03 10:19:41 -05:00
..
core IB/core: Replace memset with eth_zero_addr 2016-03-03 10:19:41 -05:00
hw Merge branch 'k.o/for-4.5-rc' into HEAD 2016-03-03 10:18:41 -05:00
ulp IB/ipoib: fix for rare multicast join race condition 2016-02-12 14:53:22 -05:00
Kconfig IB/cma: Add configfs for rdma_cm 2015-12-23 10:39:52 -05:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00