arch/alpha/lib/srm_printk.c:32: WARNING: braces {} are not necessary for single statement blocks arch/alpha/lib/srm_printk.c:39: ERROR: trailing whitespace arch/alpha/lib/srm_printk.c:40: ERROR: code indent should use tabs where possible Signed-off-by: Andrea Gelmini <andrea.gelmini@xxxxxxxxx> --- arch/alpha/lib/srm_printk.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/alpha/lib/srm_printk.c b/arch/alpha/lib/srm_printk.c index 31b53c4..7fd1bcc 100644 --- a/arch/alpha/lib/srm_printk.c +++ b/arch/alpha/lib/srm_printk.c @@ -29,13 +29,12 @@ srm_printk(const char *fmt, ...) if (num_lf) { /* expand each linefeed into carriage-return/linefeed: */ for (dst = src + num_lf; src >= buf; ) { - if (*src == '\n') { + if (*src == '\n') *dst-- = '\r'; - } *dst-- = *src--; } } - srm_puts(buf, num_lf+len); - return len; + srm_puts(buf, num_lf+len); + return len; } -- 1.7.1.251.gf80a2 -- To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html