aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cache.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-12 13:16:10 +0530
committerDoug Ledford <dledford@redhat.com>2016-03-03 10:19:41 -0500
commitdb9314cd351ebd734970c7afc2995a743e34aa02 (patch)
treea357e178b4f4b4f4317308eeef42c73a0844745f /drivers/infiniband/core/cache.c
parentIB/core: Modify conditional on ucontext existence (diff)
downloadlinux-dev-db9314cd351ebd734970c7afc2995a743e34aa02.tar.xz
linux-dev-db9314cd351ebd734970c7afc2995a743e34aa02.zip
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>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
0 files changed, 0 insertions, 0 deletions