]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/qeth: tidy up parameter naming for qeth_do_send_packet()
authorJens Remus <jremus@linux.vnet.ibm.com>
Mon, 18 Sep 2017 19:18:22 +0000 (21:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 21:41:37 +0000 (14:41 -0700)
commite878c5e6003edae23512fe43d3c050622e5ebcf5
treede1b3f5838e70a0c37fc480e003e99292be807ef
parentd7aa9d0bb923d55aa65a6e18428b384038c6523e
s390/qeth: tidy up parameter naming for qeth_do_send_packet()

Cppcheck reports the following for drivers/s390/net/qeth_core.h:

    warning - line 1560 - Function 'qeth_do_send_packet' argument order
    different:
    declaration 'card, queue, skb, hdr, hd_len, offset, elements'
    definition  'card, queue, skb, hdr, offset, hd_len, elements_needed'.

Match the naming in the function's declaration against its definition.

Signed-off-by: Jens Remus <jremus@linux.vnet.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h