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

Commit d8971fcb authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

[INET]: compile errors when DEBUG is defined



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: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1fdab81e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what)
	}
#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 @@ static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what,
	}
#ifdef INET_CSK_DEBUG
	else {
		pr_debug(inet_csk_timer_bug_msg);
		pr_debug("%s", inet_csk_timer_bug_msg);
	}
#endif
}