Fix build problem found by compiling driver with DEBUG defined that used tcp.h. Since pr_debug(arg) expands to printk("<7>" arg) the argument needs to be string that can be concatenated.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> Index: sky2-2.6.13/include/net/inet_connection_sock.h =================================================================== --- sky2-2.6.13.orig/include/net/inet_connection_sock.h 2005-08-29 19:28:21.000000000 -0700 +++ sky2-2.6.13/include/net/inet_connection_sock.h 2005-08-29 21:33:51.000000000 -0700 @@ -147,7 +147,7 @@ } #ifdef INET_CSK_DEBUG else { - pr_debug(inet_csk_timer_bug_msg); + pr_debug("%s", inet_csk_timer_bug_msg); } #endif } @@ -180,7 +180,7 @@ } #ifdef INET_CSK_DEBUG else { - pr_debug(inet_csk_timer_bug_msg); + pr_debug("%s", inet_csk_timer_bug_msg); } #endif } - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html