[Compile Regression in 2.4.25-pre8][PATCH 23/42]

Kronos
2004-02-02T19:59:14Z

ircomm_param.c:202: warning: concatenation of string literals with __FUNCTION__ is deprecated

Fix IRDA_DEBUG.

diff -Nru -X dontdiff linux-2.4-vanilla/net/irda/ircomm/ircomm_param.c linux-2.4/net/irda/ircomm/ircomm_param.c
--- linux-2.4-vanilla/net/irda/ircomm/ircomm_param.c Tue Nov 11 17:51:41 2003
+++ linux-2.4/net/irda/ircomm/ircomm_param.c Sat Jan 31 18:09:39 2004
@@ -198,7 +198,7 @@
IRDA_DEBUG(2, "%s(), No common service type to use!\n", __FUNCTION__);
return -1;
}
- IRDA_DEBUG(0, __FUNCTION__ "%s(), services in common=%02x\n", __FUNCTION__,
+ IRDA_DEBUG(0, "%s(), services in common=%02x\n", __FUNCTION__,
service_type);

/*

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Windows /win'dohz/ n. : thirty-two bit extension and graphical shell to
a sixteen bit patch to an eight bit operating system originally coded
for a four bit microprocessor which was written by a two-bit company
that can't stand a bit of competition.