diff options
author | Clemens Buchacher <drizzd@aon.at> | 2005-11-13 19:07:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-13 21:14:16 -0500 |
commit | c5b609797b8e212dbfaf23944da8bf8c53233d5c (patch) | |
tree | dfebd49ff8f1545bb2609c4d6f649e416a3f8a9f | |
parent | 8426e1f6af0fd7f44d040af7263750c5a52f3cc3 (diff) |
[PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/mips/au1000/common/usbdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/usbdev.c b/arch/mips/au1000/common/usbdev.c index 0b21bed7ee55..2cab7629702c 100644 --- a/arch/mips/au1000/common/usbdev.c +++ b/arch/mips/au1000/common/usbdev.c | |||
@@ -348,7 +348,7 @@ endpoint_stall(endpoint_t * ep) | |||
348 | { | 348 | { |
349 | u32 cs; | 349 | u32 cs; |
350 | 350 | ||
351 | warn(__FUNCTION__); | 351 | warn("%s", __FUNCTION__); |
352 | 352 | ||
353 | cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL; | 353 | cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL; |
354 | au_writel(cs, ep->reg->ctrl_stat); | 354 | au_writel(cs, ep->reg->ctrl_stat); |
@@ -360,7 +360,7 @@ endpoint_unstall(endpoint_t * ep) | |||
360 | { | 360 | { |
361 | u32 cs; | 361 | u32 cs; |
362 | 362 | ||
363 | warn(__FUNCTION__); | 363 | warn("%s", __FUNCTION__); |
364 | 364 | ||
365 | cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL; | 365 | cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL; |
366 | au_writel(cs, ep->reg->ctrl_stat); | 366 | au_writel(cs, ep->reg->ctrl_stat); |