From: Jesper Juhl <jesper.juhl@gmail.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Cc: Andre Hedrick <andre@linux-ide.org>,
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Subject: [PATCH] fix small compile warning in hpt366
Date: Mon, 17 Oct 2005 19:47:31 +0200 [thread overview]
Message-ID: <200510171947.31961.jesper.juhl@gmail.com> (raw)
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)
reply other threads:[~2005-10-17 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200510171947.31961.jesper.juhl@gmail.com \
--to=jesper.juhl@gmail.com \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=andre@linux-ide.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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