Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings
@ 2005-11-08 17:44 Alexey Dobriyan
  2005-11-08 22:03 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2005-11-08 17:44 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, Andrew Morton, Clemens Buchacher

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings
  2005-11-08 17:44 [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings Alexey Dobriyan
@ 2005-11-08 22:03 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-11-08 22:03 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-mips, Andrew Morton, Clemens Buchacher

On Tue, Nov 08, 2005 at 08:44:37PM +0300, Alexey Dobriyan wrote:

> From: Clemens Buchacher <drizzd@aon.at>
> 
> It's deprecated. Use "%s", __FUNCTION__ instead.

Applied,

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-09 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 17:44 [PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings Alexey Dobriyan
2005-11-08 22:03 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox