]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: add basic errors messages to target logic
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 28 Aug 2018 20:20:41 +0000 (13:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Aug 2018 23:01:47 +0000 (16:01 -0700)
commitfd68cd2d79fb4bc2ae72c2916aadd465243440e9
tree9d1ad6aa6c42fcd3533bc8d869e0baf3cfb7f2d1
parentb743b860564f560e46e5817208c6048efdd5a453
nfp: add basic errors messages to target logic

Add error prints to CPP target encoding/decoding logic, otherwise
it's quite hard to pin point the reasons why read or write
operations fail.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Francois H. Theron <francois.theron@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_target.c