From: Michal Simek Date: Mon, 9 Dec 2019 07:39:19 +0000 (+0100) Subject: arm64: zynqmp: Fix return value of board_fit_config_name_match X-Git-Tag: v2020.10~412^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4f8468187e7bc702a0e38815684e84f8a258812;p=platform%2Fkernel%2Fu-boot.git arm64: zynqmp: Fix return value of board_fit_config_name_match Empty implementation should not return 0 (success) because that mean that passed name matches the board configuration. Signed-off-by: Michal Simek --- diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index c0398b9..095b4e6 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -132,6 +132,6 @@ int board_fit_config_name_match(const char *name) /* Just empty function now - can't decide what to choose */ debug("%s: %s\n", __func__, name); - return 0; + return -1; } #endif