mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| eip93 | ||
| Makefile | ||
| safexcel.c | ||
| safexcel.h | ||
| safexcel_cipher.c | ||
| safexcel_hash.c | ||
| safexcel_ring.c | ||