diff options
author | 2025-07-25 18:17:01 +0100 | |
---|---|---|
committer | 2025-07-25 18:46:31 +0100 | |
commit | 2d442a0c781403702de27ccfbc4bb233721585f5 (patch) | |
tree | a9fdd0fd5e3d456abd5a88bd6532fe08f06df991 /rust/pin-init/internal/src | |
parent | spi: intel: Allow writeable MTD partition with module param (diff) | |
download | wireguard-linux-2d442a0c781403702de27ccfbc4bb233721585f5.tar.xz wireguard-linux-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 <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20250725171701.839927-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions