Hi,

since iam missing feedback ill just send my proposed patch here.

Disclaimer: iam no kernel coder, so i dont take any warranty in case
this erases your data.


-- 
http://www.ukeer.de/about.html

"There is no reason anyone in the right state of mind will want a 
computer in their home."
--Ken Olson, President of Digital Equipment Corp, 1977.
diff -ruN isdn--devel--0.1--patch-624/modules/hfc-usb/hfc-usb_main.c 
isdn--devel--0.1--patch-624--2.6.16/modules/hfc-usb/hfc-usb_main.c
--- isdn--devel--0.1--patch-624/modules/hfc-usb/hfc-usb_main.c  2006-04-07 
00:11:34.000000000 +0200
+++ isdn--devel--0.1--patch-624--2.6.16/modules/hfc-usb/hfc-usb_main.c  
2006-04-07 00:16:15.000000000 +0200
@@ -323,7 +323,6 @@
 }
 
 static struct usb_driver hfc_driver = {
-       .owner          = THIS_MODULE,
        .name           = hfc_DRIVER_NAME,
        .probe          = hfc_probe,
        .disconnect     = hfc_disconnect,
diff -ruN isdn--devel--0.1--patch-624/modules/lapd/af_lapd.c 
isdn--devel--0.1--patch-624--2.6.16/modules/lapd/af_lapd.c
--- isdn--devel--0.1--patch-624/modules/lapd/af_lapd.c  2006-04-07 
00:11:35.000000000 +0200
+++ isdn--devel--0.1--patch-624--2.6.16/modules/lapd/af_lapd.c  2006-04-07 
00:15:38.000000000 +0200
@@ -421,7 +421,11 @@
        case SIOCGIFNAME:
        case LAPD_DEV_IOC_ACTIVATE:
        case LAPD_DEV_IOC_DEACTIVATE:
-               rc = dev_ioctl(cmd, argp);
+               if (sk->sk_prot->ioctl) {
+                       rc = sk->sk_prot->ioctl(sk, cmd, arg);
+               } else {
+                       rc = -ENOIOCTLCMD;
+               }
        break;
        }
 
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to