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

net: cosa: fix the alignment issue



Alignment should match open parenthesis.

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 3fac4b94
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -1123,7 +1123,8 @@ static inline int cosa_gettype(struct cosa_data *cosa, char __user *string)
}

static int cosa_ioctl_common(struct cosa_data *cosa,
	struct channel_data *channel, unsigned int cmd, unsigned long arg)
			     struct channel_data *channel, unsigned int cmd,
			     unsigned long arg)
{
	void __user *argp = (void __user *)arg;

@@ -1684,7 +1685,8 @@ static inline void tx_interrupt(struct cosa_data *cosa, int status)

		cosa->txsize = cosa->chan[cosa->txchan].txsize;
		if (cosa_dma_able(cosa->chan+cosa->txchan,
			cosa->chan[cosa->txchan].txbuf, cosa->txsize)) {
				  cosa->chan[cosa->txchan].txbuf,
				  cosa->txsize)) {
			cosa->txbuf = cosa->chan[cosa->txchan].txbuf;
		} else {
			memcpy(cosa->bouncebuf, cosa->chan[cosa->txchan].txbuf,