From 68565d2855d3483798f904f0f8e80c2280df7030 Mon Sep 17 00:00:00 2001 From: "LevitatingBusinessMan (Rein Fernhout)" Date: Tue, 3 Dec 2024 02:55:45 +0100 Subject: [PATCH] use 0 instead of NULL in function returning int --- board/thead/light-c910/lpddr4/src/ddr_common_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/thead/light-c910/lpddr4/src/ddr_common_func.c b/board/thead/light-c910/lpddr4/src/ddr_common_func.c index d3150dba..4033383f 100644 --- a/board/thead/light-c910/lpddr4/src/ddr_common_func.c +++ b/board/thead/light-c910/lpddr4/src/ddr_common_func.c @@ -49,7 +49,7 @@ int get_ddr_rank_number() { #ifdef CONFIG_DDR_MSG DDR_DEBUG("unsupported ddr rank type!!!\n"); #endif - return NULL; + return 0; #endif }