Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1470214
| From | Anson Jacob <ansonjacob.aj@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 7/9] staging: fbtft: fbtft-bus: Fix checkpatch warning |
| Date | 2016-08-25 17:30 +0200 |
| Message-ID | <sa4Ln-2LX-3@gated-at.bofh.it> (permalink) |
| References | <sa4Ln-2LX-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line
Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
drivers/staging/fbtft/fbtft-bus.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c
index 83505bc..ec45043 100644
--- a/drivers/staging/fbtft/fbtft-bus.c
+++ b/drivers/staging/fbtft/fbtft-bus.c
@@ -92,7 +92,8 @@ void fbtft_write_reg8_bus9(struct fbtft_par *par, int len, ...)
if (par->spi && (par->spi->bits_per_word == 8)) {
/* we're emulating 9-bit, pad start of buffer with no-ops
- (assuming here that zero is a no-op) */
+ * (assuming here that zero is a no-op)
+ */
pad = (len % 4) ? 4 - (len % 4) : 0;
for (i = 0; i < pad; i++)
*buf++ = 0x000;
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 7/9] staging: fbtft: fbtft-bus: Fix checkpatch warning Anson Jacob <ansonjacob.aj@gmail.com> - 2016-08-25 17:30 +0200
csiph-web