Tomasz Duszynski ee05a93e1e raw/cnxk_gpio: check pointer before use in self test
Even though nonexistent cnxk_gpio is unlikely at this point
it's a good practice to check pointers before using them.

Fixes: 0e6557b448fa ("raw/cnxk_gpio: add self test")
Coverity issue: 376502

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
2022-02-23 18:28:10 +01:00
..
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00