cxgb4: fix coccinelle warnings
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 10 Mar 2015 12:14:52 +0000 (17:44 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2015 17:42:00 +0000 (13:42 -0400)
commite3d50738e59af9e58f569e54ff8af1840bea906c
tree33438bbaee4663038d578dd78fbc7397b3670d64
parentaf5cbc9822f6bbe399925760a4d5ee82c21f258c
cxgb4: fix coccinelle warnings

Commit 16e47624e76b43db ("cxgb4: Add new scheme to update T4/T5 firmware")
introduced below coccinelle warning.

>> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:994:2-8: Replace memcpy with
   struct assignment

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c