diff options
| author | Colin Ian King <[email protected]> | 2025-07-25 17:17:01 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-07-25 17:46:31 +0000 |
| commit | 2d442a0c781403702de27ccfbc4bb233721585f5 (patch) | |
| tree | a9fdd0fd5e3d456abd5a88bd6532fe08f06df991 /lib/crypto/mpi/mpiutil.c | |
| parent | spi: intel: Allow writeable MTD partition with module param (diff) | |
| download | kernel-2d442a0c781403702de27ccfbc4bb233721585f5.tar.gz kernel-2d442a0c781403702de27ccfbc4bb233721585f5.zip | |
spi: SPISG: Fix less than zero comparison on a u32 variable
The check for ns < 0 is always false because variable ns is a u32 which
is not a signed type. Fix this by making ns a s32 type.
Fixes: cef9991e04ae ("spi: Add Amlogic SPISG driver")
Signed-off-by: Colin Ian King <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
