Hi,

you should not drop errors.

        Regards
                Oliver

You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================


[EMAIL PROTECTED], 2003-06-04 10:56:23+02:00, [EMAIL PROTECTED]
  - proper error detection during initialisation


 empeg.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c
--- a/drivers/usb/serial/empeg.c        Wed Jun  4 10:57:48 2003
+++ b/drivers/usb/serial/empeg.c        Wed Jun  4 10:57:48 2003
@@ -460,14 +460,15 @@
 
 static int  empeg_startup (struct usb_serial *serial)
 {
+       int r;
 
        dbg("%s", __FUNCTION__);
 
        dbg("%s - Set config to 1", __FUNCTION__);
-       usb_set_configuration (serial->dev, 1);
+       r = usb_set_configuration (serial->dev, 1);
 
        /* continue on with initialization */
-       return 0;
+       return r;
 
 }
 

===================================================================


This BitKeeper patch contains the following changesets:
1.1863
## Wrapped with gzip_uu ##


begin 664 bkpatch3854
M'XL(`(RTW3X``ZU4;6_30`S^G/L5EO8%-)+X+KEK$Y2IL"&80*(J[!-"4U[<
M-.J2JRY)$5)^/-=T=`)U&S"B2';.\6,_]J,[@:N63.SHFVI+AIW`.]UVL6/]
MNB^H\1KJUWWM:5/:V$)K&_,U-;HA?Y_B?S9$K=^WF2L\R>Q?\[3+5V!#;>QP
M+SB<=-\W%#N+-V^O/KQ:,)8D<+Y*FY(^40=)PK+UK.CIQEL;G:YV!8=#>!"(
MG',A,9"*RT%,@R`<N,*LL&XA)M$R4Q';-S0[TONO4`$J#'$:*FFA(JX4NP#N
M\:D*``,?E8\A<(REBD5PBB)&A/NAX92#B^PU/+W_<Y:#"QNC-V2`C-$&"NHH
M[RK=0-&;JBFA:JJN2F^J-MV=LO=@"40!F]_-DKE_^3"&*;*S(P0*LV,]+M>W
M*K%U?:HW5'KY':,0(SX=PL#:08HT*L)B(I=<B&S)'QC;(]BW*Y+*HB(J(4>]
MW)]S7$!/[9^E>4VSW(K=[F";>KFNO<Q\*0V57Q\E(`-$:2GP05F7CQH+Y>\*
MP^@/%!:[EMAIL PROTECTED]"FMA:70-EL1U2]VUY;JLRM[\5-=N\A_!-=_&UVIE
M_L`2_D%YEZ$2P)E3-1V8E^PB5!/[>;DWCH'D>&?P;%_9/2MH^P+X\UWJ!,?4
?T3BW'"WFX?[)5Y2OV[Y.1"[EMAIL PROTECTED]
`
end



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to