git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
drivers
/
net
/
appletalk
/
ipddp.c
diff --git
a/drivers/net/appletalk/ipddp.c
b/drivers/net/appletalk/ipddp.c
index
8c0a962
..
7f7dd45
100644
(file)
--- a/
drivers/net/appletalk/ipddp.c
+++ b/
drivers/net/appletalk/ipddp.c
@@
-23,7
+23,6
@@
* of the GNU General Public License, incorporated herein by reference.
*/
* of the GNU General Public License, incorporated herein by reference.
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
@@
-259,7
+258,7
@@
static struct ipddp_route* ipddp_find_route(struct ipddp_route *rt)
static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
{
- struct ipddp_route
*rt = (struct ipddp_route *)
ifr->ifr_data;
+ struct ipddp_route
__user *rt =
ifr->ifr_data;
struct ipddp_route rcp;
if(!capable(CAP_NET_ADMIN))
struct ipddp_route rcp;
if(!capable(CAP_NET_ADMIN))
@@
-289,7
+288,7
@@
static int ipddp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
static struct net_device *dev_ipddp;
MODULE_LICENSE("GPL");
static struct net_device *dev_ipddp;
MODULE_LICENSE("GPL");
-
MODULE_PARM(ipddp_mode, "i"
);
+
module_param(ipddp_mode, int, 0
);
static int __init ipddp_init_module(void)
{
static int __init ipddp_init_module(void)
{