Commit c4474fc8 authored by Paul Burton's avatar Paul Burton Committed by Tom Rini

board_r: return 0 from show_model_r

The show_model_r function should return an int but didn't. Return 0 to
indicate inevitable success and avoid the following if it is used:

common/board_r.c: In function 'show_model_r':
common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type]

Cc: Simon Glass <>
Signed-off-by: default avatarPaul Burton <>
Acked-by: default avatarSimon Glass <>
parent 36bf57b6
......@@ -528,6 +528,7 @@ static int show_model_r(void)
# else
# endif
return 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment