Skip to content

Commit

Permalink
use 0 instead of NULL in function returning int
Browse files Browse the repository at this point in the history
  • Loading branch information
LevitatingBusinessMan authored and RevySR committed Dec 23, 2024
1 parent 72c738e commit 68565d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/thead/light-c910/lpddr4/src/ddr_common_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 68565d2

Please sign in to comment.