]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sdp: Improve the look of packet dump
authorAmir Vadai <amirv@mellanox.co.il>
Sun, 17 Oct 2010 17:45:43 +0000 (19:45 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:28 +0000 (05:05 -0700)
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_bcopy.c

index c8b966dbda58ae67c184e801b2e5a629af82fa4c..4de8c1acdbbe60f8b9946738d0b3ec0cd582686b 100644 (file)
@@ -44,9 +44,9 @@ void _dump_packet(const char *func, int line, struct sock *sk, char *str,
        struct sdp_srcah *srcah;
        int len = 0;
        char buf[256];
-       len += snprintf(buf, 255-len, "%s skb: %p mid: %2x:%-20s flags: 0x%x "
+       len += snprintf(buf, 255-len, "mid: %-20s flags: 0x%x "
                        "bufs: 0x%x len: 0x%x mseq: 0x%x mseq_ack: 0x%x | ",
-                       str, skb, h->mid, mid2str(h->mid), h->flags,
+                       mid2str(h->mid), h->flags,
                        ntohs(h->bufs), ntohl(h->len), ntohl(h->mseq),
                        ntohl(h->mseq_ack));