* [PATCH] fix small compile warning in hpt366
@ 2005-10-17 17:47 Jesper Juhl
0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2005-10-17 17:47 UTC (permalink / raw)
To: linux-kernel; +Cc: Andre Hedrick, Bartlomiej Zolnierkiewicz
Small patch below to;
a) Fix a compile warning :
drivers/ide/pci/hpt366.c:1293: warning: `Return' with a value, in function returning void
b) Add explicit printk loglevels to two printk's.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---
drivers/ide/pci/hpt366.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.14-rc4-mm1-orig/drivers/ide/pci/hpt366.c 2005-10-17 12:00:36.000000000 +0200
+++ linux-2.6.14-rc4-mm1/drivers/ide/pci/hpt366.c 2005-10-17 19:40:50.000000000 +0200
@@ -1284,13 +1284,13 @@ static void __devinit hpt37x_clocking(id
info->speed = fifty_base_hpt370a;
else
info->speed = fifty_base_hpt370a;
- printk("HPT37X: using 50MHz internal PLL\n");
+ printk(KERN_DEBUG "HPT37X: using 50MHz internal PLL\n");
goto init_hpt37X_done;
}
}
if (!pci_get_drvdata(dev)) {
- printk("No Clock Stabilization!!!\n");
- return -1;
+ printk(KERN_WARNING "No Clock Stabilization!!!\n");
+ return;
}
pll_recal:
if (adjust & 1)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-17 17:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-17 17:47 [PATCH] fix small compile warning in hpt366 Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome