diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-22 10:23:37 -0400 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-05-22 10:23:37 -0400 |
| commit | 26bfcf21e25fa090f099fa0ccf201424989cbd7b (patch) | |
| tree | d07465d0b94d7841740e01fab0da27e44026ff80 | |
| parent | e3b29f05124b07303088795396ff858811d2acb8 (diff) | |
ide: fix printk() levels in ide_dump_ata[pi]_error()
Fixes "<3>" in error messages like this one:
hdc: cdrom_decode_status: error=0x40 <3>{ LastFailedSense=0x04 }
Reported-by: Martin Lottermoser <Martin.Lottermoser@t-online.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
| -rw-r--r-- | drivers/ide/ide-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c index 56ff8c46c7d1..85b9bae111f6 100644 --- a/drivers/ide/ide-lib.c +++ b/drivers/ide/ide-lib.c | |||
| @@ -91,7 +91,7 @@ static void ide_dump_sector(ide_drive_t *drive) | |||
| 91 | 91 | ||
| 92 | static void ide_dump_ata_error(ide_drive_t *drive, u8 err) | 92 | static void ide_dump_ata_error(ide_drive_t *drive, u8 err) |
| 93 | { | 93 | { |
| 94 | printk(KERN_ERR "{ "); | 94 | printk(KERN_CONT "{ "); |
| 95 | if (err & ATA_ABORTED) | 95 | if (err & ATA_ABORTED) |
| 96 | printk(KERN_CONT "DriveStatusError "); | 96 | printk(KERN_CONT "DriveStatusError "); |
| 97 | if (err & ATA_ICRC) | 97 | if (err & ATA_ICRC) |
| @@ -121,7 +121,7 @@ static void ide_dump_ata_error(ide_drive_t *drive, u8 err) | |||
| 121 | 121 | ||
| 122 | static void ide_dump_atapi_error(ide_drive_t *drive, u8 err) | 122 | static void ide_dump_atapi_error(ide_drive_t *drive, u8 err) |
| 123 | { | 123 | { |
| 124 | printk(KERN_ERR "{ "); | 124 | printk(KERN_CONT "{ "); |
| 125 | if (err & ATAPI_ILI) | 125 | if (err & ATAPI_ILI) |
| 126 | printk(KERN_CONT "IllegalLengthIndication "); | 126 | printk(KERN_CONT "IllegalLengthIndication "); |
| 127 | if (err & ATAPI_EOM) | 127 | if (err & ATAPI_EOM) |
