* [PATCH] Coding style correction in HDLC/Frame Relay support routines
@ 2009-11-26 23:13 Rudy Matela
2009-11-30 7:42 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Rudy Matela @ 2009-11-26 23:13 UTC (permalink / raw)
To: Krzysztof Halasa; +Cc: trivial, linux-kernel, kernel-janitors
Coding style corrections on Frame Relay/DLCI support routines.
Added a space separating some if keywords from the following parenthesis to
conform to the CodingStyle.
Signed-off-by: Rudy Matela <rudy.matela@gmail.com>
---
diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c
index 840cff7..a7d4fc1 100644
--- a/drivers/net/wan/hdlc_fr.c
+++ b/drivers/net/wan/hdlc_fr.c
@@ -1214,10 +1214,10 @@ static int fr_ioctl(struct net_device *dev, struct ifreq *ifr)
return 0;
case IF_PROTO_FR:
- if(!capable(CAP_NET_ADMIN))
+ if (!capable(CAP_NET_ADMIN))
return -EPERM;
- if(dev->flags & IFF_UP)
+ if (dev->flags & IFF_UP)
return -EBUSY;
if (copy_from_user(&new_settings, fr_s, size))
@@ -1263,7 +1263,7 @@ static int fr_ioctl(struct net_device *dev, struct ifreq *ifr)
if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */
return -EINVAL;
- if(!capable(CAP_NET_ADMIN))
+ if (!capable(CAP_NET_ADMIN))
return -EPERM;
if (copy_from_user(&pvc, ifr->ifr_settings.ifs_ifsu.fr_pvc,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Coding style correction in HDLC/Frame Relay support routines
2009-11-26 23:13 [PATCH] Coding style correction in HDLC/Frame Relay support routines Rudy Matela
@ 2009-11-30 7:42 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-11-30 7:42 UTC (permalink / raw)
To: rudy.matela; +Cc: khc, trivial, linux-kernel, kernel-janitors
From: Rudy Matela <rudy.matela@gmail.com>
Date: Thu, 26 Nov 2009 20:13:42 -0300
> Coding style corrections on Frame Relay/DLCI support routines.
>
> Added a space separating some if keywords from the following parenthesis to
> conform to the CodingStyle.
>
> Signed-off-by: Rudy Matela <rudy.matela@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-30 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-26 23:13 [PATCH] Coding style correction in HDLC/Frame Relay support routines Rudy Matela
2009-11-30 7:42 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®