Skip to content

Commit 26bfcf2

Browse files
committed
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>
1 parent e3b29f0 commit 26bfcf2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/ide/ide-lib.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void ide_dump_sector(ide_drive_t *drive)
9191

9292
static void ide_dump_ata_error(ide_drive_t *drive, u8 err)
9393
{
94-
printk(KERN_ERR "{ ");
94+
printk(KERN_CONT "{ ");
9595
if (err & ATA_ABORTED)
9696
printk(KERN_CONT "DriveStatusError ");
9797
if (err & ATA_ICRC)
@@ -121,7 +121,7 @@ static void ide_dump_ata_error(ide_drive_t *drive, u8 err)
121121

122122
static void ide_dump_atapi_error(ide_drive_t *drive, u8 err)
123123
{
124-
printk(KERN_ERR "{ ");
124+
printk(KERN_CONT "{ ");
125125
if (err & ATAPI_ILI)
126126
printk(KERN_CONT "IllegalLengthIndication ");
127127
if (err & ATAPI_EOM)

0 commit comments

Comments
 (0)