From: Julian Wiedmann Date: Mon, 25 Oct 2021 09:56:58 +0000 (+0200) Subject: s390/qeth: update kerneldoc for qeth_add_hw_header() X-Git-Tag: v5.16-rc1~159^2~101^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56c5af2566a7f012e689002032f2356267a08eb3;p=thirdparty%2Fkernel%2Flinux.git s390/qeth: update kerneldoc for qeth_add_hw_header() qeth_add_hw_header() is missing documentation for some of its parameters, fix that up. Reported-by: Heiko Carstens Signed-off-by: Julian Wiedmann Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 6e410497826ae..26c55f67289f0 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -3873,12 +3873,14 @@ static unsigned int qeth_count_elements(struct sk_buff *skb, /** * qeth_add_hw_header() - add a HW header to an skb. + * @queue: TX queue that the skb will be placed on. * @skb: skb that the HW header should be added to. * @hdr: double pointer to a qeth_hdr. When returning with >= 0, * it contains a valid pointer to a qeth_hdr. * @hdr_len: length of the HW header. * @proto_len: length of protocol headers that need to be in same page as the * HW header. + * @elements: returns the required number of buffer elements for this skb. * * Returns the pushed length. If the header can't be pushed on * (eg. because it would cross a page boundary), it is allocated from