Commit 22e2b5cd authored by Heiko Carstens's avatar Heiko Carstens Committed by David S. Miller

s390/qeth: fix various format strings

Various format strings don't match with types of parameters.
Fix all of them.
Acked-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dc15012b
...@@ -661,13 +661,13 @@ static void qeth_l2_dev2br_fdb_notify(struct qeth_card *card, u8 code, ...@@ -661,13 +661,13 @@ static void qeth_l2_dev2br_fdb_notify(struct qeth_card *card, u8 code,
card->dev, &info.info, NULL); card->dev, &info.info, NULL);
QETH_CARD_TEXT(card, 4, "andelmac"); QETH_CARD_TEXT(card, 4, "andelmac");
QETH_CARD_TEXT_(card, 4, QETH_CARD_TEXT_(card, 4,
"mc%012lx", ether_addr_to_u64(ntfy_mac)); "mc%012llx", ether_addr_to_u64(ntfy_mac));
} else { } else {
call_switchdev_notifiers(SWITCHDEV_FDB_ADD_TO_BRIDGE, call_switchdev_notifiers(SWITCHDEV_FDB_ADD_TO_BRIDGE,
card->dev, &info.info, NULL); card->dev, &info.info, NULL);
QETH_CARD_TEXT(card, 4, "anaddmac"); QETH_CARD_TEXT(card, 4, "anaddmac");
QETH_CARD_TEXT_(card, 4, QETH_CARD_TEXT_(card, 4,
"mc%012lx", ether_addr_to_u64(ntfy_mac)); "mc%012llx", ether_addr_to_u64(ntfy_mac));
} }
} }
...@@ -765,8 +765,8 @@ static void qeth_l2_br2dev_worker(struct work_struct *work) ...@@ -765,8 +765,8 @@ static void qeth_l2_br2dev_worker(struct work_struct *work)
int err = 0; int err = 0;
kfree(br2dev_event_work); kfree(br2dev_event_work);
QETH_CARD_TEXT_(card, 4, "b2dw%04x", event); QETH_CARD_TEXT_(card, 4, "b2dw%04lx", event);
QETH_CARD_TEXT_(card, 4, "ma%012lx", ether_addr_to_u64(addr)); QETH_CARD_TEXT_(card, 4, "ma%012llx", ether_addr_to_u64(addr));
rcu_read_lock(); rcu_read_lock();
/* Verify preconditions are still valid: */ /* Verify preconditions are still valid: */
...@@ -795,7 +795,7 @@ static void qeth_l2_br2dev_worker(struct work_struct *work) ...@@ -795,7 +795,7 @@ static void qeth_l2_br2dev_worker(struct work_struct *work)
if (err) { if (err) {
QETH_CARD_TEXT(card, 2, "b2derris"); QETH_CARD_TEXT(card, 2, "b2derris");
QETH_CARD_TEXT_(card, 2, QETH_CARD_TEXT_(card, 2,
"err%02x%03d", event, "err%02lx%03d", event,
lowerdev->ifindex); lowerdev->ifindex);
} }
} }
...@@ -813,7 +813,7 @@ static void qeth_l2_br2dev_worker(struct work_struct *work) ...@@ -813,7 +813,7 @@ static void qeth_l2_br2dev_worker(struct work_struct *work)
break; break;
} }
if (err) if (err)
QETH_CARD_TEXT_(card, 2, "b2derr%02x", event); QETH_CARD_TEXT_(card, 2, "b2derr%02lx", event);
} }
unlock: unlock:
...@@ -878,7 +878,7 @@ static int qeth_l2_switchdev_event(struct notifier_block *unused, ...@@ -878,7 +878,7 @@ static int qeth_l2_switchdev_event(struct notifier_block *unused,
while (lowerdev) { while (lowerdev) {
if (qeth_l2_must_learn(lowerdev, dstdev)) { if (qeth_l2_must_learn(lowerdev, dstdev)) {
card = lowerdev->ml_priv; card = lowerdev->ml_priv;
QETH_CARD_TEXT_(card, 4, "b2dqw%03x", event); QETH_CARD_TEXT_(card, 4, "b2dqw%03lx", event);
rc = qeth_l2_br2dev_queue_work(brdev, lowerdev, rc = qeth_l2_br2dev_queue_work(brdev, lowerdev,
dstdev, event, dstdev, event,
fdb_info->addr); fdb_info->addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment