Fix smatch warning for sg_nents_for_len return value in Inside Secure
EIP93 driver.
The return value of sg_nents_for_len was assigned to an u32 and the
error was ignored and converted to a positive integer.
Rework the code to correctly handle the error from sg_nents_for_len to
mute smatch warning.
Fixes:
|
||
|---|---|---|
| .. | ||
| eip93 | ||
| Makefile | ||
| safexcel.c | ||
| safexcel.h | ||
| safexcel_cipher.c | ||
| safexcel_hash.c | ||
| safexcel_ring.c | ||