Skip to contentSkip to conversation

board_r: Add missing return to initr_doc

PATCH New Ian Campbell 3 participants 4 messages Jul 21, 2014 – Jul 24, 2014

lore
Share & tools
lore
#0 lore raw

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
index 4479acb..427ee67 100644
@@ -600,6 +600,7 @@ static int initr_doc(void)
 {
 	puts("DOC:   ");
 	doc_init();
+	return 0
 }
 #endif
 
Signature · 1 line
2.0.1
#2 lore raw

PATCH 1/1 board_r: Add missing return to initr_doc

In reply to Ian Campbell

Hi,

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.

---
 common/board_r.c | 1 +
 1 file changed, 1 insertion(+)
common/board_r.c +0 -0
index 4479acb..427ee67 100644

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: 40AD1FA6
#3 lore raw

PATCH 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.

---
 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
index 4479acb..427ee67 100644
@@ -600,6 +600,7 @@ static int initr_doc(void)
 {
        puts("DOC:   ");
        doc_init();
+       return 0

you forgot ';'.

Gah! v2 coming up...

Ian.