A few independent fixes for the Marvell OcteonTX2 (RVU AF/PF) drivers:
- Fix a potential buffer overrun by replacing the unbounded sprintf()
for the "mcs%d" debugfs name with snprintf().
- Fix aura/CQ BPID assignment under CONFIG_DCB, which assumed
queue_to_pfc_map was always allocated (not true for SDP VFs).
- Fix the SC resource cleanup loop that iterated over secy.max
instead of sc.max.
Baha Mesleh (1):
octeontx2-af: mcs: Fix SC resource cleanup loop
Geetha sowjanya (1):
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled
Stefan Wiehler (1):
octeontx2-af: Fix mcs string buffer size
drivers/net/ethernet/marvell/octeontx2/af/mcs.c | 2 +-
.../net/ethernet/marvell/octeontx2/af/rvu_debugfs.c | 4 ++--
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c | 8 +++++---
.../ethernet/marvell/octeontx2/nic/otx2_common.c | 13 +++++++------
4 files changed, 15 insertions(+), 12 deletions(-)
--
2.43.0