projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8426e1f
)
[PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings
author
Clemens Buchacher
<
[email protected]
>
Mon, 14 Nov 2005 00:07:26 +0000
(16:07 -0800)
committer
Linus Torvalds
<
[email protected]
>
Mon, 14 Nov 2005 02:14:16 +0000
(18:14 -0800)
It's deprecated. Use "%s", __FUNCTION__ instead.
Signed-off-by: Clemens Buchacher <
[email protected]
>
Signed-off-by: Maximilian Attems <
[email protected]
>
Signed-off-by: Domen Puncer <
[email protected]
>
Signed-off-by: Alexey Dobriyan <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/mips/au1000/common/usbdev.c
patch
|
blob
|
history
diff --git
a/arch/mips/au1000/common/usbdev.c
b/arch/mips/au1000/common/usbdev.c
index 0b21bed7ee553f5413253bc7808bc64b03f26ebb..2cab7629702c3f6b6066250c8c9bc8db2dd36241 100644
(file)
--- a/
arch/mips/au1000/common/usbdev.c
+++ b/
arch/mips/au1000/common/usbdev.c
@@
-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);