commit | 1d8ef0c07664dc48f2ff19a90b62dd3f6f425547 | [log] [tgz] |
---|---|---|
author | Edwin Peer <edwin.peer@netronome.com> | Thu Feb 01 19:41:43 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 02 19:08:20 2018 -0500 |
tree | 08c03e996a2b984f90e358f54fd7bf30c75de89a | |
parent | 743ffffefac1c670c6618742c923f6275d819604 [diff] |
nfp: fix TLV offset calculation The data pointer in the config space TLV parser already includes NFP_NET_CFG_TLV_BASE, it should not be added again. Incorrect offset values were only used in printed user output, rendering the bug merely cosmetic. Fixes: 73a0329b057e ("nfp: add TLV capabilities to the BAR") Signed-off-by: Edwin Peer <edwin.peer@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>