Skip to content

Commit

Permalink
[PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTIO…
Browse files Browse the repository at this point in the history
…N__ with strings

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]>
  • Loading branch information
Clemens Buchacher authored and Linus Torvalds committed Nov 14, 2005
1 parent 8426e1f commit c5b6097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/au1000/common/usbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit c5b6097

Please sign in to comment.