lkml.org 
[lkml]   [2003]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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;
}

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.110 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site