Re: [PATCH 3/3] ide-tape: fix handling of postponed rqs

From: David Miller
Date: Tue Jul 21 2009 - 23:47:06 EST


From: Borislav Petkov <petkovbb@xxxxxxxxxxxxxx>
Date: Sat, 18 Jul 2009 11:55:17 +0200

> ide-tape used to hit
>
> [ 58.614854] ide-tape: ht0: BUG: Two DSC requests queued!
>
> due to the fact that another rq was being issued while the driver was
> waiting for DSC to get set for the device executing ATAPI commands which
> set the DSC to 1 to indicate completion.
>
> Here's a sample output of that case:

Do you even compile the code you send me and look to see if there are
any new warnings generated or anything like that?

drivers/ide/ide-tape.c: In function âide_tape_stall_queueâ:
drivers/ide/ide-tape.c:379: warning: unused variable ârqâ

Fix this.
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_