FW: Does not give a valid preporcessing TOKEN (patch)

Julian Anastasov ja at ssi.bg
Thu Aug 16 02:34:03 BST 2001


	Hello,

On Wed, 15 Aug 2001, Chun, Myung Z (N-Payroll Plus) wrote:

> hi,
> thank for info,
> I do have patch linux_net_netsyms_c.diff but still same problem.  I wonder
> you can tell me
> what version of kernel and patches applied in your system. It may not
> working 2.4.5?

	I now see what you mean. These errors do not show on egcs-2.91.66
a.k.a. kgcc. I see them on new compilers. Patch for testing
attached (Linux 2.4.8 with linux-2.4.5-ipvs-0.9.2.patch).

Wensong, please apply.

> thanks again.

Regards

--
Julian Anastasov <ja at ssi.bg>
-------------- next part --------------
--- linux/include/net/ip_vs.h~	Thu Aug 16 01:06:08 2001
+++ linux/include/net/ip_vs.h	Thu Aug 16 01:21:19 2001
@@ -133,17 +133,17 @@
 #define IP_VS_DBG(level, msg...)                        \
     do {                                                \
 	    if (level <= ip_vs_get_debug_level())       \
-		    printk(KERN_DEBUG "IPVS: " ## msg); \
+		    printk(KERN_DEBUG "IPVS: " msg); \
     } while (0)
 #else	/* NO DEBUGGING at ALL */
 #define IP_VS_DBG(level, msg...)  do {} while (0)
 #endif
 
 #define IP_VS_BUG() BUG()
-#define IP_VS_ERR(msg...) printk(KERN_ERR "IPVS: " ## msg )
-#define IP_VS_INFO(msg...) printk(KERN_INFO "IPVS: " ## msg )
+#define IP_VS_ERR(msg...) printk(KERN_ERR "IPVS: " msg )
+#define IP_VS_INFO(msg...) printk(KERN_INFO "IPVS: " msg )
 #define IP_VS_WARNING(msg...) \
-	printk(KERN_WARNING "IPVS: " ## msg)
+	printk(KERN_WARNING "IPVS: " msg)
 
 #ifdef CONFIG_IP_VS_DEBUG
 #define EnterFunction(level)                                            \


More information about the lvs-users mailing list