board_r: Add missing return to initr_doc
PATCH 1/1 board_r: Add missing return to initr_doc
I happened to spot this while working in the area.
--- common/board_r.c | 1 + 1 file changed, 1 insertion(+)
common/board_r.c +1 -0
@@ -600,6 +600,7 @@ static int initr_doc(void) {puts ("DOC: " );doc_init (); + return 0 }#endif
Signature · 1 line
2.0.1
PATCH 1/1 board_r: Add missing return to initr_doc
Quoted 4 lines · Ian Campbell
I happened to spot this while working in the area.
Signed-off-by Ian Campbell <[email protected]>Cc Simon Glass <[email protected]>
(we normally add a blank line before return but I don't think it is universal)
PATCH 1/1 board_r: Add missing return to initr_doc
In reply to Ian CampbellHi,
2014-07-22 3:21 GMT+09:00 Ian Campbell <[email protected]>:
Quoted 13 lines
I happened to spot this while working in the area.
Signed-off-by Ian Campbell <[email protected]>Cc Simon Glass <[email protected]>--- common/board_r.c | 1 + 1 file changed, 1 insertion(+)common/board_r.c +0
-0
common/board_r.c static int initr_doc(void) · line 603
Quoted 4 lines
common/board_r.c +1
-0@@ -600,6 +600,7 @@ static int initr_doc(void) {puts ("DOC: " );doc_init (); +return 0
you forgot ';'.
Quoted 5 lines
common/board_r.c +0
-1}#endif --2.0.1
Best regards,
Nobuhiro
Signature · 3 lines
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6PATCH 1/1 board_r: Add missing return to initr_doc
Quoted 11 lines · Nobuhiro Iwamatsu
Hi,
2014-07-22 3:21 GMT+09:00 Ian Campbell <[email protected]>:
Quoted 8 lines
I happened to spot this while working in the area.
Signed-off-by Ian Campbell <[email protected]>Cc Simon Glass <[email protected]>--- common/board_r.c | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
common/board_r.c static int initr_doc(void) · line 603
Quoted 9 lines
common/board_r.c +1
-0@@ -600,6 +600,7 @@ static int initr_doc(void) {puts ("DOC: " );doc_init (); +return 0 you forgot ';'.
Gah! v2 coming up...
Ian.