Skip to contentSkip to conversation

Staging: drivers: dma: ste_dma40: Fix line over 80 characters warning

PATCH New Hatice ERTÜRK 1 participant 1 message Feb 19, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: drivers: dma: ste_dma40: Fix line over 80 characters warning

WARNING: line over 80 characters
chackpatch.pl warning in ste_dma40.c

---
 drivers/dma/ste_dma40.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/dma/ste_dma40.c +8 -4
index 5cffef1..57dfe05 100644
@@ -1011,7 +1011,8 @@ static int d40_psize_2_burst_size(bool is_log, int psize)
  * The dma only supports transmitting packages up to
  * STEDMA40_MAX_SEG_SIZE * data_width, where data_width is stored in Bytes.
  *
- * Calculate the total number of dma elements required to send the entire sg list.
+ * Calculate the total number of dma
+	elements required to send the entire sg list.
  */
 static int d40_size_2_dmalen(int size, u32 data_width1, u32 data_width2)
 {
@@ -1975,7 +1976,8 @@ static int d40_config_memcpy(struct d40_chan *d40c)
 
 	if (dma_has_cap(DMA_MEMCPY, cap) && !dma_has_cap(DMA_SLAVE, cap)) {
 		d40c->dma_cfg = dma40_memcpy_conf_log;
-		d40c->dma_cfg.dev_type = dma40_memcpy_channels[d40c->chan.chan_id];
+		d40c->dma_cfg.dev_type =
+		dma40_memcpy_channels[d40c->chan.chan_id];
 
 		d40_log_cfg(&d40c->dma_cfg,
 			    &d40c->log_def.lcsp1, &d40c->log_def.lcsp3);
@@ -2518,7 +2520,8 @@ d40_prep_memcpy_sg(struct dma_chan *chan,
 	if (dst_nents != src_nents)
 		return NULL;
 
-	return d40_prep_sg(chan, src_sg, dst_sg, src_nents, DMA_NONE, dma_flags);
+	return d40_prep_sg(chan, src_sg, dst_sg,
+				src_nents, DMA_NONE, dma_flags);
 }
 
 static struct dma_async_tx_descriptor *
@@ -3216,7 +3219,8 @@ static struct d40_base * __init d40_hw_detect_init(struct platform_device *pdev)
 	 */
 	rev = AMBA_REV_BITS(pid);
 	if (rev < 2) {
-		d40_err(&pdev->dev, "hardware revision: %d is not supported", rev);
+		d40_err(&pdev->dev,
+			"hardware revision: %d is not supported", rev);
 		goto failure;
 	}
 
Signature · 1 line
1.9.1