commands/bootm.c: fix unused-but-set-variable gcc warning
Subsystems (2)
PATCH 1/1 commands/bootm.c: fix unused-but-set-variable gcc warning
--- commands/bootm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
commands/bootm.c +1 -2
@@ -282,7 +282,6 @@ static int handler_parse_options(struct image_data *data, int opt, char *optarg)static int do_bootm (struct command *cmdtp,int argc,char *argv[]) { -ulong iflag;int opt;image_header_t *os_header;struct image_handle *os_handle, *initrd_handle =NULL ;
@@ -344,7 +343,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[])* recover from any failures any more... */ - iflag =disable_interrupts (); +disable_interrupts ();puts ("OK\n" );
Signature · 7 lines
1.7.5.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/1 lib/readline.c: fix unused-but-set-variable gcc warning
--- lib/readline.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
lib/readline.c +0 -2
@@ -176,7 +176,6 @@ int readline(const char *prompt, char *buf, int len) {unsigned long num =0 ;unsigned long eol_num =0 ; -unsigned long rlen;unsigned wlen;int ichar;int insert =1 ;
@@ -191,7 +190,6 @@ int readline(const char *prompt, char *buf, int len)puts (prompt);while (1 ) { - rlen =1 ; ichar =read_key ();if ((ichar =='\n' ) || (ichar =='\r' )) {
Signature · 7 lines
1.7.5.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/1 NiosII: fix typo in cpu/exceptions.S
In reply to Antony Pavlov--- arch/nios2/cpu/exceptions.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/nios2/cpu/exceptions.S +1 -1
@@ -122,7 +122,7 @@ _exception: mov r4, sp /* ptr to regs */ callr r3 - /* Restore regsisters and return from exception*/ + /* Restore registers and return from exception */ _exception_return: ldw r1, 4(sp) ldw r2, 8(sp)
Signature · 7 lines
1.7.5.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
All applied to -next
Sascha
Quoted 34 lines · Antony Pavlov
--- commands/bootm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)commands/bootm.c +1
-2@@ -282,7 +282,6 @@ static int handler_parse_options(struct image_data *data, int opt, char *optarg)static int do_bootm (struct command *cmdtp,int argc,char *argv[]) { -ulong iflag;int opt;image_header_t *os_header;struct image_handle *os_handle, *initrd_handle =NULL ;@@ -344,7 +343,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[])* recover from any failures any more... */ - iflag =disable_interrupts (); +disable_interrupts ();puts ("OK\n" );Signature · 7 lines
1.7.5.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox