Commit 9846e70b authored by Eugene Crosser's avatar Eugene Crosser Committed by David S. Miller

qeth: remove extraneous length from %pM format

Length specifier in the %pM format is not supported (at least, not
documented). Remove it, and also an extraneous '&' for the array.
Signed-off-by: default avatarEugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
Suggested-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5dcd2461
...@@ -1452,8 +1452,8 @@ static void qeth_bridge_emit_host_event(struct qeth_card *card, ...@@ -1452,8 +1452,8 @@ static void qeth_bridge_emit_host_event(struct qeth_card *card,
env[i] = str[i]; i++; env[i] = str[i]; i++;
} }
if (code & IPA_ADDR_CHANGE_CODE_MACADDR) { if (code & IPA_ADDR_CHANGE_CODE_MACADDR) {
snprintf(str[i], sizeof(str[i]), "MAC=%pM6", snprintf(str[i], sizeof(str[i]), "MAC=%pM",
&addr_lnid->mac); addr_lnid->mac);
env[i] = str[i]; i++; env[i] = str[i]; i++;
} }
snprintf(str[i], sizeof(str[i]), "NTOK_BUSID=%x.%x.%04x", snprintf(str[i], sizeof(str[i]), "NTOK_BUSID=%x.%x.%04x",
......
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