Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Joe Perches
On Thu, 2017-08-24 at 23:01 +0530, Himanshu Jha wrote: > On Thu, Aug 24, 2017 at 09:06:32AM -0700, Joe Perches wrote: > > On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > > > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > > > instead of memcpy. > > > > [] > > diff

Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Joe Perches
On Thu, 2017-08-24 at 23:01 +0530, Himanshu Jha wrote: > On Thu, Aug 24, 2017 at 09:06:32AM -0700, Joe Perches wrote: > > On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > > > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > > > instead of memcpy. > > > > [] > > diff

Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Himanshu Jha
On Thu, Aug 24, 2017 at 09:06:32AM -0700, Joe Perches wrote: > On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > > instead of memcpy. > [] > diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c > []

Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Himanshu Jha
On Thu, Aug 24, 2017 at 09:06:32AM -0700, Joe Perches wrote: > On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > > instead of memcpy. > [] > diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c > []

Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Joe Perches
On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > instead of memcpy. [] diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c [] > @@ -798,7 +798,7 @@ int rdma_addr_find_l2_eth_by_grh(const union

Re: [PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Joe Perches
On Thu, 2017-08-24 at 21:11 +0530, Himanshu Jha wrote: > Use ether_addr_copy to copy an ethernet address of size ETH_ALEN > instead of memcpy. [] diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c [] > @@ -798,7 +798,7 @@ int rdma_addr_find_l2_eth_by_grh(const union

[PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Himanshu Jha
Use ether_addr_copy to copy an ethernet address of size ETH_ALEN instead of memcpy. Signed-off-by: Himanshu Jha --- drivers/infiniband/core/addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/addr.c

[PATCH] IB/core: replace memcpy with ether_addr_copy

2017-08-24 Thread Himanshu Jha
Use ether_addr_copy to copy an ethernet address of size ETH_ALEN instead of memcpy. Signed-off-by: Himanshu Jha --- drivers/infiniband/core/addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c index