]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
s390/qeth: clean up qeth_l3_send_setdelmc()'s declaration
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 27 Aug 2020 08:16:58 +0000 (10:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 14:42:03 +0000 (07:42 -0700)
Clarify that the 'ipacmd' parameter is an enum, and thus compatible to
what qeth_ipa_alloc_cmd() expects as input.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c

index fe44b0249e34ad3d8eb8ee0940e132617547974e..95df638de6162b8d4ec64331026bd27795f752cc 100644 (file)
@@ -314,7 +314,8 @@ static int qeth_l3_setdelip_cb(struct qeth_card *card, struct qeth_reply *reply,
 }
 
 static int qeth_l3_send_setdelmc(struct qeth_card *card,
-                       struct qeth_ipaddr *addr, int ipacmd)
+                                struct qeth_ipaddr *addr,
+                                enum qeth_ipa_cmds ipacmd)
 {
        struct qeth_cmd_buffer *iob;
        struct qeth_ipa_cmd *cmd;