1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/drivers/mtd
Vignesh Raghavendra cb56caacf8 mtd: spi-nor-core: Fix static checker warnings
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>
2019-12-27 17:47:26 +05:30
..
2019-12-04 17:10:51 -05:00
2019-12-04 17:10:51 -05:00
2019-12-04 17:10:51 -05:00
2018-10-02 22:12:31 +05:30
2019-12-03 08:43:24 -05:00