s390/qeth: fix up ssqd tracing
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Fri, 7 Apr 2017 07:15:33 +0000 (09:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 12:52:51 +0000 (05:52 -0700)
The ac fields are bitmaps, so format them as hex.
While at it, also print the ac2 field.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c

index 7142204293b080ed866b3d15cc2160e514aa91a6..510947b1fee49839440085e97059066b3e092f56 100644 (file)
@@ -4817,8 +4817,9 @@ static void qeth_determine_capabilities(struct qeth_card *card)
                QETH_DBF_TEXT_(SETUP, 2, "6err%d", rc);
 
        QETH_DBF_TEXT_(SETUP, 2, "qfmt%d", card->ssqd.qfmt);
-       QETH_DBF_TEXT_(SETUP, 2, "%d", card->ssqd.qdioac1);
-       QETH_DBF_TEXT_(SETUP, 2, "%d", card->ssqd.qdioac3);
+       QETH_DBF_TEXT_(SETUP, 2, "ac1:%02x", card->ssqd.qdioac1);
+       QETH_DBF_TEXT_(SETUP, 2, "ac2:%04x", card->ssqd.qdioac2);
+       QETH_DBF_TEXT_(SETUP, 2, "ac3:%04x", card->ssqd.qdioac3);
        QETH_DBF_TEXT_(SETUP, 2, "icnt%d", card->ssqd.icnt);
        if (!((card->ssqd.qfmt != QDIO_IQDIO_QFMT) ||
            ((card->ssqd.qdioac1 & CHSC_AC1_INITIATE_INPUTQ) == 0) ||