[PATCH net v2 0/5] net: microchip: sparx5: Fix some memory leaks in vcap_api_kunit

Jinjie Ruan ruanjinjie at huawei.com
Sat Sep 9 01:02:02 PDT 2023


There are some memory leaks in vcap_api_kunit, this patchset
fixes them.

Changes in v2:
- Adhere to the 80 character limit in vcap_free_caf()
- Fix kernel test robot reported warnings in test_vcap_xn_rule_creator()

Jinjie Ruan (5):
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_keyvalue_test()
  net: microchip: sparx5: Fix memory leak for
    vcap_api_rule_add_actionvalue_test()
  net: microchip: sparx5: Fix possible memory leak in
    vcap_api_encode_rule_test()
  net: microchip: sparx5: Fix possible memory leaks in
    test_vcap_xn_rule_creator()
  net: microchip: sparx5: Fix possible memory leaks in vcap_api_kunit

 .../ethernet/microchip/vcap/vcap_api_kunit.c  | 59 +++++++++++++++++--
 1 file changed, 54 insertions(+), 5 deletions(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list