mirror of https://gitee.com/openkylin/linux.git
ide-cd: fix error message in cdrom_pc_intr()
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
52ef2ed081
commit
5744a06134
|
@ -1511,7 +1511,7 @@ static ide_startstop_t cdrom_pc_intr (ide_drive_t *drive)
|
|||
/* Same drill for reading. */
|
||||
else if ((ireason & 3) == 2) {
|
||||
if (!rq->data) {
|
||||
blk_dump_rq_flags(rq, "cdrom_pc_intr, write");
|
||||
blk_dump_rq_flags(rq, "cdrom_pc_intr, read");
|
||||
goto confused;
|
||||
}
|
||||
/* Transfer the data. */
|
||||
|
|
Loading…
Reference in New Issue