Commit e84c3e14 authored by Peng Li's avatar Peng Li Committed by David S. Miller
Browse files

net: cosa: add some required spaces



Add space required before the open parenthesis '(' and '{'.
Add space required after that close brace '}' and ','
Add spaces required around that '=' , '&', '*', '|', '+', '/' and '-'.

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 57374725
Loading
Loading
Loading
Loading
+69 −68
Original line number Diff line number Diff line
@@ -1704,7 +1704,8 @@ static inline void tx_interrupt(struct cosa_data *cosa, int status)
				cosa->txchan = 0;
			if (!(cosa->txbitmap & (1 << cosa->txchan)))
				continue;
			if (~status & (1 << (cosa->txchan+DRIVER_TXMAP_SHIFT)))
			if (~status &
			    (1 << (cosa->txchan + DRIVER_TXMAP_SHIFT)))
				break;
			/* in second pass, accept first ready-to-TX channel */
			if (i > cosa->nchannels) {