aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-12-24 09:23:44 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-12-24 09:23:44 -0500
commit5744a06134c8f4e77ad14016420aac308c763454 (patch)
tree9ac76de9a7580bf047c97b60e4ab8ae87a85e5d5
parent52ef2ed08164dbde07203ee245584d59ebf5c487 (diff)
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>
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index 3b23826b7680..522580f29ddc 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1511,7 +1511,7 @@ static ide_startstop_t cdrom_pc_intr (ide_drive_t *drive)
1511 /* Same drill for reading. */ 1511 /* Same drill for reading. */
1512 else if ((ireason & 3) == 2) { 1512 else if ((ireason & 3) == 2) {
1513 if (!rq->data) { 1513 if (!rq->data) {
1514 blk_dump_rq_flags(rq, "cdrom_pc_intr, write"); 1514 blk_dump_rq_flags(rq, "cdrom_pc_intr, read");
1515 goto confused; 1515 goto confused;
1516 } 1516 }
1517 /* Transfer the data. */ 1517 /* Transfer the data. */