Messages in this thread Patch in this message | | | Date | Sun, 26 Oct 2003 14:48:58 +0100 | From | David Jez <> | Subject | Re: diethotplug-0.4 utility patch |
| |
> > > - for USB: matching by vendor & class, not only by vendor (-ENODEV bug) > > > > Can you split this patch out? It looks useful. > of course -- ------------------------------------------------------- David "Dave" Jez Brno, CZ, Europe E-mail: dave.jez@seznam.cz PGP key: finger xjezda00@eva.fit.vutbr.cz ---------=[ ~EOF ]=------------------------------------ diff -urN diethotplug-0.4.orig/ieee1394.c diethotplug-0.4/ieee1394.c --- diethotplug-0.4.orig/ieee1394.c Wed Jan 9 20:57:29 2002 +++ diethotplug-0.4/ieee1394.c Sat Oct 25 20:36:12 2003 @@ -75,7 +75,7 @@ return retval; } - return -ENODEV; + return 0; } diff -urN diethotplug-0.4.orig/usb.c diethotplug-0.4/usb.c --- diethotplug-0.4.orig/usb.c Wed Jan 9 20:57:29 2002 +++ diethotplug-0.4/usb.c Sat Oct 25 20:36:07 2003 @@ -84,7 +84,7 @@ } } - return -ENODEV; + return 0; } @@ -121,7 +121,7 @@ } } - return -ENODEV; + return 0; } @@ -158,7 +158,7 @@ } } - return -ENODEV; + return 0; } | |