* [PATCH 0/3] Staging : Fix multiple coding style issues.
@ 2016-03-13 10:14 Sandhya Bankar
2016-03-13 10:18 ` [PATCH 1/3] Staging: gs_fpgaboot: Fix alignment to match open parenthesis Sandhya Bankar
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sandhya Bankar @ 2016-03-13 10:14 UTC (permalink / raw)
To: outreachy-kernel
Fix multiple coding style issues. These issues are reported by checkpatch.pl script.
Sandhya Bankar (3):
Staging: gs_fpgaboot: Fix alignment to match open parenthesis.
Staging: gs_fpgaboot: Remove unnecessary blank lines.
Staging: gs_fpgaboot: Add space around '+'.
drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
--
1.8.3.4
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/3] Staging: gs_fpgaboot: Fix alignment to match open parenthesis.
2016-03-13 10:14 [PATCH 0/3] Staging : Fix multiple coding style issues Sandhya Bankar
@ 2016-03-13 10:18 ` Sandhya Bankar
2016-03-13 10:20 ` [PATCH 2/3] Staging: gs_fpgaboot: Remove unnecessary blank lines Sandhya Bankar
2016-03-13 10:22 ` [PATCH 3/3] Staging: gs_fpgaboot: Add space around '+' Sandhya Bankar
2 siblings, 0 replies; 4+ messages in thread
From: Sandhya Bankar @ 2016-03-13 10:18 UTC (permalink / raw)
To: outreachy-kernel
Fix alignment to match open parenthesis.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
index 7b7c978..de1a9a6 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
@@ -201,7 +201,7 @@ static int gs_download_image(struct fpgaimage *fimage, enum wbus bus_bytes)
#endif /* DEBUG_FPGA */
if (!xl_supported_prog_bus_width(bus_bytes)) {
pr_err("unsupported program bus width %d\n",
- bus_bytes);
+ bus_bytes);
return -1;
}
@@ -277,7 +277,7 @@ static int gs_set_download_method(struct fpgaimage *fimage)
static int init_driver(void)
{
firmware_pdev = platform_device_register_simple("fpgaboot", -1,
- NULL, 0);
+ NULL, 0);
return PTR_ERR_OR_ZERO(firmware_pdev);
}
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/3] Staging: gs_fpgaboot: Remove unnecessary blank lines.
2016-03-13 10:14 [PATCH 0/3] Staging : Fix multiple coding style issues Sandhya Bankar
2016-03-13 10:18 ` [PATCH 1/3] Staging: gs_fpgaboot: Fix alignment to match open parenthesis Sandhya Bankar
@ 2016-03-13 10:20 ` Sandhya Bankar
2016-03-13 10:22 ` [PATCH 3/3] Staging: gs_fpgaboot: Add space around '+' Sandhya Bankar
2 siblings, 0 replies; 4+ messages in thread
From: Sandhya Bankar @ 2016-03-13 10:20 UTC (permalink / raw)
To: outreachy-kernel
Remove unnecessary blank lines.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
index de1a9a6..1af0745 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
@@ -93,7 +93,6 @@ static int readlength_bitstream(char *bitdata, int *lendata, int *offset)
return 0;
}
-
/*
* read first 13 bytes to check bitstream magic number
*/
@@ -331,7 +330,6 @@ err_out1:
kfree(fimage);
return -1;
-
}
static int __init gs_fpgaboot_init(void)
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] Staging: gs_fpgaboot: Add space around '+'.
2016-03-13 10:14 [PATCH 0/3] Staging : Fix multiple coding style issues Sandhya Bankar
2016-03-13 10:18 ` [PATCH 1/3] Staging: gs_fpgaboot: Fix alignment to match open parenthesis Sandhya Bankar
2016-03-13 10:20 ` [PATCH 2/3] Staging: gs_fpgaboot: Remove unnecessary blank lines Sandhya Bankar
@ 2016-03-13 10:22 ` Sandhya Bankar
2 siblings, 0 replies; 4+ messages in thread
From: Sandhya Bankar @ 2016-03-13 10:22 UTC (permalink / raw)
To: outreachy-kernel
Add space around '+'.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
---
drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
index 1af0745..a221f26 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c
@@ -221,7 +221,7 @@ static int gs_download_image(struct fpgaimage *fimage, enum wbus bus_bytes)
pr_info("device init done\n");
for (i = 0; i < size; i += bus_bytes)
- xl_shift_bytes_out(bus_bytes, bitdata+i);
+ xl_shift_bytes_out(bus_bytes, bitdata + i);
pr_info("program done\n");
--
1.8.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-13 18:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-13 10:14 [PATCH 0/3] Staging : Fix multiple coding style issues Sandhya Bankar
2016-03-13 10:18 ` [PATCH 1/3] Staging: gs_fpgaboot: Fix alignment to match open parenthesis Sandhya Bankar
2016-03-13 10:20 ` [PATCH 2/3] Staging: gs_fpgaboot: Remove unnecessary blank lines Sandhya Bankar
2016-03-13 10:22 ` [PATCH 3/3] Staging: gs_fpgaboot: Add space around '+' Sandhya Bankar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.