* [Patch/master] pr_warn() must be pr_warning() instead
@ 2011-05-26 19:39 Juergen Beisert
2011-05-28 19:29 ` Uwe Kleine-König
0 siblings, 1 reply; 2+ messages in thread
From: Juergen Beisert @ 2011-05-26 19:39 UTC (permalink / raw)
To: barebox
Fixing the following warning and error message:
[...]
drivers/mci/mci-core.c: In function 'mci_card_probe':
drivers/mci/mci-core.c:1195:3: warning: implicit declaration of function 'pr_warn'
[...]
drivers/built-in.o: In function `mci_card_probe':
/home/jb/work/Pengutronix/barebox-development/barebox-git/drivers/mci/mci-core.c:1195: undefined reference to `pr_warn'
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index a06c997..79c5e82 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -1192,7 +1192,7 @@ static int mci_card_probe(struct device_d *mci_dev)
/* reset the card */
rc = mci_go_idle(mci_dev);
if (rc) {
- pr_warn("Cannot reset the SD/MMC card\n");
+ pr_warning("Cannot reset the SD/MMC card\n");
goto on_error;
}
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch/master] pr_warn() must be pr_warning() instead
2011-05-26 19:39 [Patch/master] pr_warn() must be pr_warning() instead Juergen Beisert
@ 2011-05-28 19:29 ` Uwe Kleine-König
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2011-05-28 19:29 UTC (permalink / raw)
To: Juergen Beisert; +Cc: barebox
On Thu, May 26, 2011 at 09:39:12PM +0200, Juergen Beisert wrote:
> Fixing the following warning and error message:
> [...]
> drivers/mci/mci-core.c: In function 'mci_card_probe':
> drivers/mci/mci-core.c:1195:3: warning: implicit declaration of function 'pr_warn'
> [...]
> drivers/built-in.o: In function `mci_card_probe':
> /home/jb/work/Pengutronix/barebox-development/barebox-git/drivers/mci/mci-core.c:1195: undefined reference to `pr_warn'
>
> diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
> index a06c997..79c5e82 100644
> --- a/drivers/mci/mci-core.c
> +++ b/drivers/mci/mci-core.c
> @@ -1192,7 +1192,7 @@ static int mci_card_probe(struct device_d *mci_dev)
> /* reset the card */
> rc = mci_go_idle(mci_dev);
> if (rc) {
> - pr_warn("Cannot reset the SD/MMC card\n");
> + pr_warning("Cannot reset the SD/MMC card\n");
The kernel has
#define pr_warn pr_warning
Maybe barebox should get that, too?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-28 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 19:39 [Patch/master] pr_warn() must be pr_warning() instead Juergen Beisert
2011-05-28 19:29 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox