Selaa lähdekoodia

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+
Helge Deller 7 vuotta sitten
vanhempi
commit
203c110b39
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      arch/parisc/boot/compressed/misc.c

+ 2 - 2
arch/parisc/boot/compressed/misc.c

@@ -123,8 +123,8 @@ int puts(const char *s)
 	while ((nuline = strchr(s, '\n')) != NULL) {
 	while ((nuline = strchr(s, '\n')) != NULL) {
 		if (nuline != s)
 		if (nuline != s)
 			pdc_iodc_print(s, 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')
 	if (*s != '\0')
 		pdc_iodc_print(s, strlen(s));
 		pdc_iodc_print(s, strlen(s));