mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![]() Static checker warns 'ret' variable may be used uninitialized in spi_nor_erase() and spi_nor_write() in case of zero length requests. Fix these warnings by checking for zero length requests and returning early. Reported-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> |
||
---|---|---|
.. | ||
fsl_espi_spl.c | ||
Kconfig | ||
Makefile | ||
sandbox.c | ||
sf_dataflash.c | ||
sf_internal.h | ||
sf_mtd.c | ||
sf_probe.c | ||
sf-uclass.c | ||
spi-nor-core.c | ||
spi-nor-ids.c | ||
spi-nor-tiny.c |