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/
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 <[email protected]> Reviewed-by: Jerin Jacob <[email protected]>
show more ...
|