diff options
| author | Dan Carpenter <[email protected]> | 2025-03-14 10:10:15 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-03-16 23:34:16 +0000 |
| commit | 16c6cac2463d57d3dc15057937fd7aedacff656e (patch) | |
| tree | a1764589cc4863095fb25b2ebcf47658ec7061e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | arm64: dts: freescale: Add support for the GOcontroll Moduline Display (diff) | |
| download | kernel-16c6cac2463d57d3dc15057937fd7aedacff656e.tar.gz kernel-16c6cac2463d57d3dc15057937fd7aedacff656e.zip | |
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 <[email protected]>
Reviewed-by: Tudor Ambarus <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
