nfp: check the right pointer for errors
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 16 Apr 2016 10:25:49 +0000 (11:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 02:34:39 +0000 (22:34 -0400)
commit5b161096f0515b61b72156cd0c1e5c72e77cfed8
treebfd49b84290c6987beba04923501b421344ba88f
parent7a7c1705dc6c629e3b1dce1c0c1ecc0af87486ac
nfp: check the right pointer for errors

Correct checking error condition on wrong pointer -
copy/paste mistake most likely.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c