diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-23 14:47:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-23 14:47:02 -0400 |
commit | 5f05647dd81c11a6a165ccc8f0c1370b16f3bcb0 (patch) | |
tree | 7851ef1c93aa1aba7ef327ca4b75fd35e6d10f29 /drivers/net/appletalk | |
parent | 02f36038c568111ad4fc433f6fa760ff5e38fab4 (diff) | |
parent | ec37a48d1d16c30b655ac5280209edf52a6775d4 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1699 commits)
bnx2/bnx2x: Unsupported Ethtool operations should return -EINVAL.
vlan: Calling vlan_hwaccel_do_receive() is always valid.
tproxy: use the interface primary IP address as a default value for --on-ip
tproxy: added IPv6 support to the socket match
cxgb3: function namespace cleanup
tproxy: added IPv6 support to the TPROXY target
tproxy: added IPv6 socket lookup function to nf_tproxy_core
be2net: Changes to use only priority codes allowed by f/w
tproxy: allow non-local binds of IPv6 sockets if IP_TRANSPARENT is enabled
tproxy: added tproxy sockopt interface in the IPV6 layer
tproxy: added udp6_lib_lookup function
tproxy: added const specifiers to udp lookup functions
tproxy: split off ipv6 defragmentation to a separate module
l2tp: small cleanup
nf_nat: restrict ICMP translation for embedded header
can: mcp251x: fix generation of error frames
can: mcp251x: fix endless loop in interrupt handler if CANINTF_MERRF is set
can-raw: add msg_flags to distinguish local traffic
9p: client code cleanup
rds: make local functions/variables static
...
Fix up conflicts in net/core/dev.c, drivers/net/pcmcia/smc91c92_cs.c and
drivers/net/wireless/ath/ath9k/debug.c as per David
Diffstat (limited to 'drivers/net/appletalk')
-rw-r--r-- | drivers/net/appletalk/ipddp.c | 10 | ||||
-rw-r--r-- | drivers/net/appletalk/ltpc.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 0362c8d31a08..10d0dba572c2 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -244,7 +244,7 @@ static int ipddp_delete(struct ipddp_route *rt) | |||
244 | } | 244 | } |
245 | 245 | ||
246 | spin_unlock_bh(&ipddp_route_lock); | 246 | spin_unlock_bh(&ipddp_route_lock); |
247 | return (-ENOENT); | 247 | return -ENOENT; |
248 | } | 248 | } |
249 | 249 | ||
250 | /* | 250 | /* |
@@ -259,10 +259,10 @@ static struct ipddp_route* __ipddp_find_route(struct ipddp_route *rt) | |||
259 | if(f->ip == rt->ip && | 259 | if(f->ip == rt->ip && |
260 | f->at.s_net == rt->at.s_net && | 260 | f->at.s_net == rt->at.s_net && |
261 | f->at.s_node == rt->at.s_node) | 261 | f->at.s_node == rt->at.s_node) |
262 | return (f); | 262 | return f; |
263 | } | 263 | } |
264 | 264 | ||
265 | return (NULL); | 265 | return NULL; |
266 | } | 266 | } |
267 | 267 | ||
268 | static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | 268 | static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) |
@@ -279,7 +279,7 @@ static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
279 | switch(cmd) | 279 | switch(cmd) |
280 | { | 280 | { |
281 | case SIOCADDIPDDPRT: | 281 | case SIOCADDIPDDPRT: |
282 | return (ipddp_create(&rcp)); | 282 | return ipddp_create(&rcp); |
283 | 283 | ||
284 | case SIOCFINDIPDDPRT: | 284 | case SIOCFINDIPDDPRT: |
285 | spin_lock_bh(&ipddp_route_lock); | 285 | spin_lock_bh(&ipddp_route_lock); |
@@ -297,7 +297,7 @@ static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
297 | return -ENOENT; | 297 | return -ENOENT; |
298 | 298 | ||
299 | case SIOCDELIPDDPRT: | 299 | case SIOCDELIPDDPRT: |
300 | return (ipddp_delete(&rcp)); | 300 | return ipddp_delete(&rcp); |
301 | 301 | ||
302 | default: | 302 | default: |
303 | return -EINVAL; | 303 | return -EINVAL; |
diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c index adc07551739e..e69eead12ec7 100644 --- a/drivers/net/appletalk/ltpc.c +++ b/drivers/net/appletalk/ltpc.c | |||
@@ -727,7 +727,7 @@ static int sendup_buffer (struct net_device *dev) | |||
727 | 727 | ||
728 | if (ltc->command != LT_RCVLAP) { | 728 | if (ltc->command != LT_RCVLAP) { |
729 | printk("unknown command 0x%02x from ltpc card\n",ltc->command); | 729 | printk("unknown command 0x%02x from ltpc card\n",ltc->command); |
730 | return(-1); | 730 | return -1; |
731 | } | 731 | } |
732 | dnode = ltc->dnode; | 732 | dnode = ltc->dnode; |
733 | snode = ltc->snode; | 733 | snode = ltc->snode; |