mbox

[0/2] raw/cnxk_gpio: fix issues discovered by coverity

Message ID 20220222082817.1057701-1-tduszynski@marvell.com (mailing list archive)
Headers

Message

Tomasz Duszynski Feb. 22, 2022, 8:28 a.m. UTC
Fix issues that were discovered during coverity scan.

Tomasz Duszynski (2):
  raw/cnxk_gpio: fix resource leak
  raw/cnxk_gpio: check pointer before using it

 drivers/raw/cnxk_gpio/cnxk_gpio.c          | 24 ++++++++++++++--------
 drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c |  2 ++
 2 files changed, 17 insertions(+), 9 deletions(-)

--
2.25.1