提交 c5b60979 编写于 作者: C Clemens Buchacher 提交者: Linus Torvalds

[PATCH] arch/mips/au1000/common/usbdev.c: don't concatenate __FUNCTION__ with strings

It's deprecated. Use "%s", __FUNCTION__ instead.
Signed-off-by: NClemens Buchacher <drizzd@aon.at>
Signed-off-by: NMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: NDomen Puncer <domen@coderock.org>
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8426e1f6
...@@ -348,7 +348,7 @@ endpoint_stall(endpoint_t * ep) ...@@ -348,7 +348,7 @@ endpoint_stall(endpoint_t * ep)
{ {
u32 cs; u32 cs;
warn(__FUNCTION__); warn("%s", __FUNCTION__);
cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL; cs = au_readl(ep->reg->ctrl_stat) | USBDEV_CS_STALL;
au_writel(cs, ep->reg->ctrl_stat); au_writel(cs, ep->reg->ctrl_stat);
...@@ -360,7 +360,7 @@ endpoint_unstall(endpoint_t * ep) ...@@ -360,7 +360,7 @@ endpoint_unstall(endpoint_t * ep)
{ {
u32 cs; u32 cs;
warn(__FUNCTION__); warn("%s", __FUNCTION__);
cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL; cs = au_readl(ep->reg->ctrl_stat) & ~USBDEV_CS_STALL;
au_writel(cs, ep->reg->ctrl_stat); au_writel(cs, ep->reg->ctrl_stat);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册