summaryrefslogtreecommitdiff
path: root/arch/parisc/boot
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-12-12 23:32:16 +0300
committerHelge Deller <deller@gmx.de>2017-12-17 23:06:25 +0300
commit203c110b39a89b48156c7450504e454fedb7f7f6 (patch)
tree18b981f5ad31cd2c3c8a2330f7d144544872b8e3 /arch/parisc/boot
parent50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff)
downloadlinux-203c110b39a89b48156c7450504e454fedb7f7f6.tar.xz
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 <dan.carpenter@oracle.com> Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v4.14+
Diffstat (limited to 'arch/parisc/boot')
-rw-r--r--arch/parisc/boot/compressed/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/boot/compressed/misc.c b/arch/parisc/boot/compressed/misc.c
index 9345b44b86f0..f57118e1f6b4 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));