提交 58e45131 编写于 作者: D David S. Miller 提交者: David S. Miller

[DCCP]: Fix printf format warnings on 64-bit.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 05465343
...@@ -141,10 +141,16 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb) ...@@ -141,10 +141,16 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb)
"(P.ackno %s or LAWL(%llu) <= P.ackno(%llu) <= S.AWH(%llu), " "(P.ackno %s or LAWL(%llu) <= P.ackno(%llu) <= S.AWH(%llu), "
"sending SYNC...\n", "sending SYNC...\n",
dccp_packet_name(dh->dccph_type), dccp_packet_name(dh->dccph_type),
lswl, DCCP_SKB_CB(skb)->dccpd_seq, dp->dccps_swh, (unsigned long long) lswl,
(unsigned long long)
DCCP_SKB_CB(skb)->dccpd_seq,
(unsigned long long) dp->dccps_swh,
(DCCP_SKB_CB(skb)->dccpd_ack_seq == (DCCP_SKB_CB(skb)->dccpd_ack_seq ==
DCCP_PKT_WITHOUT_ACK_SEQ) ? "doesn't exist" : "exists", DCCP_PKT_WITHOUT_ACK_SEQ) ? "doesn't exist" : "exists",
lawl, DCCP_SKB_CB(skb)->dccpd_ack_seq, dp->dccps_awh); (unsigned long long) lawl,
(unsigned long long)
DCCP_SKB_CB(skb)->dccpd_ack_seq,
(unsigned long long) dp->dccps_awh);
dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC); dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC);
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册