Hi,

the checker found a real one here. Fix included.

        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], 2002-07-12 00:05:23+02:00, [EMAIL PROTECTED]
  - down missing up




diff -Nru a/drivers/usb/class/printer.c b/drivers/usb/class/printer.c
--- a/drivers/usb/class/printer.c       Fri Jul 12 00:05:50 2002
+++ b/drivers/usb/class/printer.c       Fri Jul 12 00:05:50 2002
@@ -655,7 +655,10 @@
                                                          (count - writecount) : 
USBLP_BUF_SIZE;
 
                if (copy_from_user(usblp->writeurb->transfer_buffer, buffer + 
writecount,
-                               usblp->writeurb->transfer_buffer_length)) return 
-EFAULT;
+                               usblp->writeurb->transfer_buffer_length)) {
+                                       up(&usblp->sem);
+                                       return -EFAULT;
+               }
 
                usblp->writeurb->dev = usblp->dev;
                usblp->wcomplete = 0;

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


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


begin 664 bkpatch4639
M'XL(`#X!+CT``[54:VO;,!3]'/T*06$L%-M7S]@>">G:[L$*"]GR>=B._"".
M'22[V9CWWR?'HR$0PM8R(9!T'T?G7AUTA5=&Z7!4E\6CTN@*?ZA-8X^JJBOE
MYO56E475?G=KG5GGLJZMT^O-WI#AQ1NGT4H9;T\%LB&+J$ER;#TF'!&7/5F:
M'SL5CI;W[U</-TN$IE-\FT=5IKZH!D^G*-[,UZTJW8VNH[R_K7MR=Q2`$$(%
M,"&)Z*C/&.^(A'AMMVLZ"=)8!FC@,S_'_!2+PL2B$2&`=R)@A*,[3%PI`PS4
M@XE'*`8(082470,-`?`%:'Q-L`/H+7YY`;<HP0Y>U_L*;PMCBBK#[0Y]PA(F
M0-#BV"_D_.-`"")`LS,<U[JOS'BMB;V=+JI&:3<Y\N40$-DQRFG0Q6D$?L""
M"8]28$EZJ2LGN$D9&7.*/CP!!4%9Q[E/V4$0%Y+.2^0%[%&F538?H))Z^Q>$
M00+AA%G"#+A_T`R3SY,,QP[YKY(9>OH9.WI_F%8"BTOM?8:B[J3P,4$?^X6C
MD1T6M]PYL[TN&M7JV)DU.JI,JO2WN$W[I515UN3C,?YYB!^UN]>O_B09M1V_
J&:Q:-:VNL'/_[F;U\+4W_CK^*TFNDHUIMU,_41$7,D&_`6$7FW?!!```
`
end



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to