arm: imx: Fix incorrect return value
Subsystems (3)
PATCH 1/1 arm: imx: Fix incorrect return value
The spl_spi_get_uboot_offs weak function is defined unsigned int.
Signed-off-by Ye Li <[email protected]>
--- arch/arm/mach-imx/image-container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/image-container.c +1 -1
@@ -262,7 +262,7 @@ static int get_imageset_end(void *dev, int dev_type) }#ifdef CONFIG_SPL_SPI_LOAD -unsigned long spl_spi_get_uboot_offs (struct spi_flash *flash) +unsigned int spl_spi_get_uboot_offs (struct spi_flash *flash) {int end;
Signature · 1 line
2.7.4
Fabio Estevam
reviewerQuoted 4 lines · Ye Li
The
spl_spi_get_uboot_offsweak function is defined unsigned int.Signed-off-by Ye Li <[email protected]>
The original Subject is too generic, I changed it to:
image-container: Fix incorrect return value
Applied to u-boot-imx/next, thanks.