OSDN Git Service

qlcnic: Fix corruption while copying
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Wed, 29 Jul 2015 11:55:35 +0000 (07:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:57:26 +0000 (23:57 -0700)
commit15f1bb1f1e067be7088ed43ef23d59629bd24348
tree59cdd79fe2da1624c2cdf6036b514cf935b3521e
parentf4eaed28c7834fc049c754f63e6988bbd73778d9
qlcnic: Fix corruption while copying

Use proper typecasting while performing byte-by-byte copy

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c