Skip to contentSkip to conversation

Staging: gs_fpgaboot: fix indentation sytle in io.c

PATCH In review Thomas Casey 2 participants 2 messages Nov 29, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: gs_fpgaboot: fix indentation sytle in io.c

This patch properly aligns a statement with arguments on multiple lines found by the checkpatch.pl script

---
 drivers/staging/gs_fpgaboot/io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gs_fpgaboot/io.c +1 -1
index c939119..f5799d3 100644
@@ -55,7 +55,7 @@ int xl_supported_prog_bus_width(enum wbus bus_bytes)
 		break;
 	default:
 		pr_err("unsupported program bus width %d\n",
-				bus_bytes);
+		       bus_bytes);
 		return 0;
 	}
 
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 13 lines · Thomas Casey

This patch properly aligns a statement with arguments on multiple lines found by the checkpatch.pl script

---
 drivers/staging/gs_fpgaboot/io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/gs_fpgaboot/io.c +0 -0
index c939119..f5799d3 100644

drivers/staging/gs_fpgaboot/io.c int xl_supported_prog_bus_width(enum wbus bus_bytes) · line 58

Quoted 5 lines
drivers/staging/gs_fpgaboot/io.c +1 -1
@@ -55,7 +55,7 @@ int xl_supported_prog_bus_width(enum wbus bus_bytes)
 		break;
 	default:
 		pr_err("unsupported program bus width %d\n",
-				bus_bytes);
+		       bus_bytes);

Why not just put this all on one line?