projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10cae1c
)
NET: NETROM: Fix formatting.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 24 Nov 2011 23:54:10 +0000
(23:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Nov 2011 05:23:13 +0000
(
00:23
-0500)
The Linux coding style wants the return statement on its own line.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c
patch
|
blob
|
history
diff --git
a/net/netrom/af_netrom.c
b/net/netrom/af_netrom.c
index
732152f
..
c329b47
100644
(file)
--- a/
net/netrom/af_netrom.c
+++ b/
net/netrom/af_netrom.c
@@
-1244,7
+1244,8
@@
static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
case SIOCADDRT:
case SIOCDELRT:
case SIOCNRDECOBS:
- if (!capable(CAP_NET_ADMIN)) return -EPERM;
+ if (!capable(CAP_NET_ADMIN))
+ return -EPERM;
return nr_rt_ioctl(cmd, argp);
default: