[net,0/2] octeontx2-pf: Fix several bugs in exception paths

Message ID cover.1669361183.git.william.xuanziyang@huawei.com
Headers
Series octeontx2-pf: Fix several bugs in exception paths |

Message

Ziyang Xuan Nov. 25, 2022, 7:45 a.m. UTC
  Find several obvious bugs during code review in exception paths. Provide
this patchset to fix them. Not tested, just compiled.

Ziyang Xuan (2):
  octeontx2-pf: Fix potential memory leak in otx2_init_tc()
  octeontx2-pf: Fix a potential double free in otx2_sq_free_sqbs()

 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 1 +
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c     | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)