[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>
This commit is contained in:
Clemens Buchacher 2005-11-13 16:07:26 -08:00 committed by Linus Torvalds
parent 8426e1f6af
commit c5b609797b
1 changed files with 2 additions and 2 deletions

View File

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