Skip to contentSkip to conversation

Staging: fbtft: Fix line over 80 characters

PATCH Superseded Daniela Mormocea 2 participants 2 messages Mar 4, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: fbtft: Fix line over 80 characters

fix line over 80 characters, warning by checkpatch

---
 drivers/staging/fbtft/flexfb.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/fbtft/flexfb.c +3 -1
index c5fa591..b91b459 100644
@@ -718,7 +718,9 @@ static int flexfb_probe_common(struct spi_device *sdev,
 			par->fbtftops.write_vmem = fbtft_write_vmem16_bus16;
 			break;
 		default:
-			dev_err(dev, "argument 'buswidth': %d is not supported with parallel.\n", buswidth);
+			dev_err(dev,
+				"argument 'buswidth': %d is not supported with parallel.\n",
+				buswidth);
 			return -EINVAL;
 		}
 	}
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Daniela Mormocea

fix line over 80 characters, warning by checkpatch

This should be a proper sentence. That is, it should begin with a capital letter and end with a period.

It would be better to say what you actually did, rather than just saying that you fixed something. Say what you did and why.

If this change is to replace a patch that you previously sent, it should be indicated as v2, ie [PATCH v2], and you should describe what has changed since the previous version under the ---

julia

Quoted 31 lines
---
 drivers/staging/fbtft/flexfb.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/fbtft/flexfb.c +3 -2
index c5fa591..b91b459 100644
@@ -718,7 +718,9 @@ static int flexfb_probe_common(struct spi_device *sdev,
 			par->fbtftops.write_vmem = fbtft_write_vmem16_bus16;
 			break;
 		default:
-			dev_err(dev, "argument 'buswidth': %d is not supported with parallel.\n", buswidth);
+			dev_err(dev,
+				"argument 'buswidth': %d is not supported with parallel.\n",
+				buswidth);
 			return -EINVAL;
 		}
 	}
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190304220537.GA9580%40pthm.
For more options, visit https://groups.google.com/d/optout.