From b4f8468187e7bc702a0e38815684e84f8a258812 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 9 Dec 2019 08:39:19 +0100 Subject: [PATCH] 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 --- arch/arm/mach-zynqmp/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index c0398b9116..095b4e61a5 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 -- 2.25.1