Skip to contentSkip to conversation

Staging: drivers: dma: ste_dma40: fix blank line 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 blank line warning

WARNING: Missing a blank line after declarations
checkpatch.pl warning in ste_dm40.c

---
 drivers/dma/ste_dma40.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/dma/ste_dma40.c +4 -0
index 57dfe05..e4b823d 100644
@@ -1410,6 +1410,7 @@ static u32 d40_residue(struct d40_chan *d40c)
 			>> D40_MEM_LCSP2_ECNT_POS;
 	else {
 		u32 val = readl(chan_base(d40c) + D40_CHAN_REG_SDELT);
+
 		num_elt = (val & D40_SREG_ELEM_PHY_ECNT_MASK)
 			  >> D40_SREG_ELEM_PHY_ECNT_POS;
 	}
@@ -1758,6 +1759,7 @@ static bool d40_alloc_mask_set(struct d40_phy_res *phy,
 			       bool *first_user)
 {
 	unsigned long flags;
+
 	spin_lock_irqsave(&phy->lock, flags);
 
 	*first_user = ((phy->allocated_src | phy->allocated_dst)
@@ -1893,6 +1895,7 @@ static int d40_allocate_channel(struct d40_chan *d40c, bool *first_phy_user)
 		} else
 			for (j = 0; j < d40c->base->num_phy_chans; j += 8) {
 				int phy_num = j  + event_group * 2;
+
 				for (i = phy_num; i < phy_num + 2; i++) {
 					if (d40_alloc_mask_set(&phys[i],
 							       is_src,
@@ -2411,6 +2414,7 @@ static int d40_alloc_chan_resources(struct dma_chan *chan)
 	struct d40_chan *d40c =
 		container_of(chan, struct d40_chan, chan);
 	bool is_free_phy;
+
 	spin_lock_irqsave(&d40c->lock, flags);
 
 	dma_cookie_init(chan);
Signature · 1 line
1.9.1