liquidio: clear the correct memory
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 3 Apr 2017 18:18:27 +0000 (21:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Apr 2017 13:53:42 +0000 (06:53 -0700)
commit781159fb9c61b7a3b197c2046745fec4773806b4
tree4d92c606ce6e87d0b287dafb246cee89dfa0c54e
parent03cf65a95937772b27d8a82836fec2b827ea1ecb
liquidio: clear the correct memory

There is a cut and paste bug here so we accidentally clear the first
few bytes of "resp" a second time instead clearing "ctx".

Fixes: 50c0add534d2 ("liquidio: refactor interrupt moderation code")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c