* [PATCH net-next] vcan: whitepace fixes
@ 2008-12-17 9:40 Oliver Hartkopp
2008-12-17 23:38 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Hartkopp @ 2008-12-17 9:40 UTC (permalink / raw)
To: David Miller; +Cc: Linux Netdev List
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
vcan: whitespace fixes
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
---
Hello Dave,
when adding the net_device_ops support to the vcan driver i discovered several
whitepace issues in the driver setup section. This patch fixes them.
Thanks,
Oliver
[-- Attachment #2: vcan_whitespace_fixes.patch --]
[-- Type: text/x-patch, Size: 1147 bytes --]
diff --git a/drivers/net/can/vcan.c b/drivers/net/can/vcan.c
index f127ec9..a10c1d7 100644
--- a/drivers/net/can/vcan.c
+++ b/drivers/net/can/vcan.c
@@ -134,24 +134,24 @@ static const struct net_device_ops vcan_netdev_ops = {
static void vcan_setup(struct net_device *dev)
{
- dev->type = ARPHRD_CAN;
- dev->mtu = sizeof(struct can_frame);
- dev->hard_header_len = 0;
- dev->addr_len = 0;
- dev->tx_queue_len = 0;
- dev->flags = IFF_NOARP;
+ dev->type = ARPHRD_CAN;
+ dev->mtu = sizeof(struct can_frame);
+ dev->hard_header_len = 0;
+ dev->addr_len = 0;
+ dev->tx_queue_len = 0;
+ dev->flags = IFF_NOARP;
/* set flags according to driver capabilities */
if (echo)
dev->flags |= IFF_ECHO;
- dev->netdev_ops = &vcan_netdev_ops;
- dev->destructor = free_netdev;
+ dev->netdev_ops = &vcan_netdev_ops;
+ dev->destructor = free_netdev;
}
static struct rtnl_link_ops vcan_link_ops __read_mostly = {
- .kind = "vcan",
- .setup = vcan_setup,
+ .kind = "vcan",
+ .setup = vcan_setup,
};
static __init int vcan_init_module(void)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] vcan: whitepace fixes
2008-12-17 9:40 [PATCH net-next] vcan: whitepace fixes Oliver Hartkopp
@ 2008-12-17 23:38 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-12-17 23:38 UTC (permalink / raw)
To: oliver; +Cc: netdev
From: Oliver Hartkopp <oliver@hartkopp.net>
Date: Wed, 17 Dec 2008 10:40:14 +0100
> vcan: whitespace fixes
>
> Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Applied, thanks Oliver.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-17 23:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 9:40 [PATCH net-next] vcan: whitepace fixes Oliver Hartkopp
2008-12-17 23:38 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).