From: Helge Deller Date: Tue, 12 Dec 2017 20:32:16 +0000 (+0100) Subject: parisc: Fix indenting in puts() X-Git-Tag: v4.15-rc5~22^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=203c110b39a89b48156c7450504e454fedb7f7f6;p=thirdparty%2Fkernel%2Flinux.git parisc: Fix indenting in puts() Static analysis tools complain that we intended to have curly braces around this indent block. In this case this assumption is wrong, so fix the indenting. Fixes: 2f3c7b8137ef ("parisc: Add core code for self-extracting kernel") Reported-by: Dan Carpenter Signed-off-by: Helge Deller Cc: # v4.14+ --- diff --git a/arch/parisc/boot/compressed/misc.c b/arch/parisc/boot/compressed/misc.c index 9345b44b86f03..f57118e1f6b42 100644 --- a/arch/parisc/boot/compressed/misc.c +++ b/arch/parisc/boot/compressed/misc.c @@ -123,8 +123,8 @@ int puts(const char *s) while ((nuline = strchr(s, '\n')) != NULL) { if (nuline != s) pdc_iodc_print(s, nuline - s); - pdc_iodc_print("\r\n", 2); - s = nuline + 1; + pdc_iodc_print("\r\n", 2); + s = nuline + 1; } if (*s != '\0') pdc_iodc_print(s, strlen(s));