X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=drivers%2Fmtd%2Fspi%2Fspi_flash.c;h=f689cc47cfccac051e4257de47bedfcecb5bd13a;hp=ced4c940008b080923c0345e9afc8682a5814f4d;hb=1f6734cf502586d758b0569f5d921b71277688bd;hpb=7708d8b352e9e595f6f08afd3206af6495c7dc09 diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index ced4c94000..f689cc47cf 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -233,8 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd, goto out; } - debug("SF: Successfully erased %zu bytes @ %#x\n", - len * erase_size, start); + debug("SF: Successfully erased %zu bytes @ %#x\n", len, start); out: spi_release_bus(flash->spi);