Re: [PATCH 2/4] ide-disk: add missing printk() KERN_* levels

2008-02-18 Thread Sergei Shtylyov

Bartlomiej Zolnierkiewicz wrote:


Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]


Acked-by: Sergei Shtylyov [EMAIL PROTECTED]

MBR, Sergei

-
To unsubscribe from this list: send the line unsubscribe linux-ide in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/4] ide-disk: add missing printk() KERN_* levels

2008-02-17 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
 drivers/ide/ide-disk.c |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: b/drivers/ide/ide-disk.c
===
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -867,7 +867,7 @@ static void idedisk_setup (ide_drive_t *
 
/* Only print cache size when it was specified */
if (id-buf_size)
-   printk ( w/%dKiB Cache, id-buf_size/2);
+   printk(KERN_CONT  w/%dKiB Cache, id-buf_size / 2);
 
printk(KERN_CONT , CHS=%d/%d/%d\n,
 drive-bios_cyl, drive-bios_head, drive-bios_sect);
@@ -949,7 +949,8 @@ static void ide_device_shutdown(ide_driv
return;
}
 
-   printk(Shutdown: %s\n, drive-name);
+   printk(KERN_INFO Shutdown: %s\n, drive-name);
+
drive-gendev.bus-suspend(drive-gendev, PMSG_SUSPEND);
 }
 
-
To unsubscribe from this list: send the line unsubscribe linux-ide in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html