Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b60979 authored by Clemens Buchacher's avatar Clemens Buchacher Committed by Linus Torvalds
Browse files

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



It's deprecated. Use "%s", __FUNCTION__ instead.

Signed-off-by: default avatarClemens Buchacher <drizzd@aon.at>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8426e1f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);