diff options
author | Carl Heymann <carl.heymann@netronome.com> | 2018-01-23 02:29:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-23 16:12:01 +0100 |
commit | e71494ae68d2cbade38bbc2935cd7ff96e2b9b04 (patch) | |
tree | e2944b52aba27ae1acfe8f1f92eff65fd82ea512 /drivers/phy/samsung/phy-samsung-usb2.c | |
parent | tun: avoid calling xdp_rxq_info_unreg() twice (diff) | |
download | linux-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.tar.xz linux-e71494ae68d2cbade38bbc2935cd7ff96e2b9b04.zip |
nfp: fix fw dump handling of absolute rtsym size
Fix bug that causes _absolute_ rtsym sizes of > 8 bytes (as per symbol
table) to result in incorrect space used during a TLV-based debug dump.
Detail: The size calculation stage calculates the correct size (size of
the rtsym address field == 8), while the dump uses the size in the table
to calculate the TLV size to reserve. Symbols with size <= 8 are handled
OK due to aligning sizes to 8, but including any absolute symbol with
listed size > 8 leads to an ENOSPC error during the dump.
Fixes: da762863edd9 ("nfp: fix absolute rtsym handling in debug dump")
Signed-off-by: Carl Heymann <carl.heymann@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy/samsung/phy-samsung-usb2.c')
0 files changed, 0 insertions, 0 deletions