Skip to contentSkip to conversation

Whitespace formatting changes

PATCH In review Ralf Baechle DL5RB 1 participant 1 message Sep 11, 2005

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

PATCH 6/12 Whitespace formatting changes

Small formatting changes.

 net/ax25/af_ax25.c |    2 +-
 net/rose/af_rose.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
net/ax25/af_ax25.c +1 -1
Index: linux-cvs/net/ax25/af_ax25.c
===================================================================
@@ -1695,7 +1695,7 @@ static int ax25_ioctl(struct socket *soc
 		/* These two are safe on a single CPU system as only user tasks fiddle here */
 		if ((skb = skb_peek(&sk->sk_receive_queue)) != NULL)
 			amount = skb->len;
-		res = put_user(amount, (int __user *)argp);
+		res = put_user(amount, (int __user *) argp);
 		break;
 	}
 
net/rose/af_rose.c +3 -3
Index: linux-cvs/net/rose/af_rose.c
===================================================================
@@ -1243,7 +1243,7 @@ static int rose_ioctl(struct socket *soc
 		amount = sk->sk_sndbuf - atomic_read(&sk->sk_wmem_alloc);
 		if (amount < 0)
 			amount = 0;
-		return put_user(amount, (unsigned int __user *)argp);
+		return put_user(amount, (unsigned int __user *) argp);
 	}
 
 	case TIOCINQ: {
@@ -1252,11 +1252,11 @@ static int rose_ioctl(struct socket *soc
 		/* These two are safe on a single CPU system as only user tasks fiddle here */
 		if ((skb = skb_peek(&sk->sk_receive_queue)) != NULL)
 			amount = skb->len;
-		return put_user(amount, (unsigned int __user *)argp);
+		return put_user(amount, (unsigned int __user *) argp);
 	}
 
 	case SIOCGSTAMP:
-		return sock_get_timestamp(sk, (struct timeval __user *)argp);
+		return sock_get_timestamp(sk, (struct timeval __user *) argp);
 
 	case SIOCGIFADDR:
 	case SIOCSIFADDR: