summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-03-14 13:10:15 +0300
committerMark Brown <broonie@kernel.org>2025-03-17 02:34:16 +0300
commit16c6cac2463d57d3dc15057937fd7aedacff656e (patch)
treea1764589cc4863095fb25b2ebcf47658ec7061e2 /lib/timerqueue.c
parent336a41c90c86b883aa06ed19f138eee19ddf9958 (diff)
downloadlinux-16c6cac2463d57d3dc15057937fd7aedacff656e.tar.xz
spi: sg2044-nor: fix signedness bug in sg2044_spifmc_write()
The "ret" variable needs to be signed for the error handling to work. It should be type int, since it only holds zero and negative error codes. Fixes: de16c322eefb ("spi: sophgo: add SG2044 SPI NOR controller driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Link: https://patch.msgid.link/4e16e1bf-e5fb-4771-bc92-c5cba9aac473@stanley.mountain Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions