| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings |
| From: | Alexey Dobriyan <adobriyan@gmail.com> |
| Date: | Tue, 8 Nov 2005 20:44:37 +0300 |
| Cc: | linux-mips@linux-mips.org, Andrew Morton <akpm@osdl.org>, Clemens Buchacher <drizzd@aon.at> |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=uFXdSiwcEiarq+C3uG4X0F8afpVDgA9S9XFA/aCI7sH1SnLhzAb7lJgc+IsRndeFaEs93tth+bwcUSVKelPf8186Bkf2RL5JzfeHwymau+uzMLx1KNjkOrSLBLZkAjCpWjdsMUUjI+bWPAi/rUfHIfO63F66k4Qf4O0uSBLynrc= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.8i |
From: Clemens Buchacher <drizzd@aon.at>
It's deprecated. Use "%s", __FUNCTION__ instead.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Index: linux-kj/arch/mips/au1000/common/usbdev.c
===================================================================
--- linux-kj.orig/arch/mips/au1000/common/usbdev.c 2005-11-08
12:33:24.000000000 +0300
+++ linux-kj/arch/mips/au1000/common/usbdev.c 2005-11-08 13:10:41.000000000
+0300
@@ -348,7 +348,7 @@ endpoint_stall(endpoint_t * ep)
{
u32 cs;
- warn(__FUNCTION__);
+ warn("%s", __FUNCTION__);
cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL;
au_writel(cs, ep->reg->ctrl_stat);
@@ -360,7 +360,7 @@ endpoint_unstall(endpoint_t * ep)
{
u32 cs;
- warn(__FUNCTION__);
+ warn("%s", __FUNCTION__);
cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL;
au_writel(cs, ep->reg->ctrl_stat);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: git and tags..., Franck |
|---|---|
| Next by Date: | [PATCH] Remove arch/mips/arc/salone.c, Alexey Dobriyan |
| Previous by Thread: | git and tags..., Franck |
| Next by Thread: | Re: [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |