Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp708019pxv; Thu, 15 Jul 2021 14:04:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFFqVsgCZoCirXTXW4t88bYItQ6dJmbaQ9vMsa4eCBXwzgHDClmM9DL0mNmCcFVx0HoIMm X-Received: by 2002:a17:906:9c84:: with SMTP id fj4mr7350623ejc.356.1626383042616; Thu, 15 Jul 2021 14:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383042; cv=none; d=google.com; s=arc-20160816; b=A9V2Pzm73uQ2QK1gGWpHtNIrAZlSeR6V8nOzmTZ/J7hG/tdmtnQhbowsvA9lWKt5yO SXjDynWlWIp0jRXNWDIX6MeureZLKdjYzYS/4vrT1a5K7/aetvDo+K4r/sYKtzfnCUjc mCl2KqB8u5JX2vJQucRzQ9Yk1PwuYinNm1TjQW2IxwSjA3PBq3oO5QDfJ+dxtTKHVL6r bU6lLznyd8oAHKJd6Vl+PYm2fExQACMKQYs8zQeGFT2/J8cRyT/rKetplVKLtEIWRC/h 6arnrmMl+BND9IgCOWJlwkp35bdaRWwTcVl0SmsQm7KFH6rU0yd+wPOeGlwVyyOhYIJS 6rgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a7F/C/0QR3GgFyE3NDo0yYuKM8IZ7qJgSD2vb8E8Ths=; b=aUysBm9hjo+gScuCYjtaBEIT8dZfxx+uDnK0UDewoArSBkEyGVo8VoYZPclsjEfbGJ xnKRYIt5+kuHjoItOfE/wse2f2pDI5j7kfqZs3/D+/Zcfi8FW4KH5b3hDRc3nsY0Hkuo jPxY/hC6AZD29i989VfjI9+YQQAGJrC8s0nWkkClSQk/xVmFi/X54NswadZ2WjrfqP8o VxqM8sWE0gsmSF3QXFpC7pK07Qm4e30ENt7fY5hiViDCYg//wWjyk+oUDeuoSEaI0ZBf xEx/iWf0xAIaRx6ISr8XZdQJprQzkcROWILu7+xbV+rZmtEj06S7v8TSopucphQrbPJd q+YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yvA2mQMX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h9si8440072ejk.653.2021.07.15.14.03.39; Thu, 15 Jul 2021 14:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yvA2mQMX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243650AbhGOTN7 (ORCPT + 99 others); Thu, 15 Jul 2021 15:13:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:35104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242840AbhGOTAC (ORCPT ); Thu, 15 Jul 2021 15:00:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4DECB613CC; Thu, 15 Jul 2021 18:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375428; bh=Epu5Df6xEQfp3jQIPeK2nKJRr9rVgUOibI+mTwuHG74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yvA2mQMXJFSCx+4jlJfviooPImb7/M1mM5fw0a6goOX2q1VwuebEDOVtdQy1h08KT Bcrcc+yz0+tL/jZlRr4KF8JOhYfhYI0Prm1PbRMvvhc01am9UFo49hyHxR3/a4zBIW JE8kVGmuQ80+Vt8HE7NbqJY3r3rUf57B5LxXx9ns= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lijun Pan , "David S. Miller" , Sasha Levin Subject: [PATCH 5.12 084/242] ibmvnic: fix kernel build warnings in build_hdr_descs_arr Date: Thu, 15 Jul 2021 20:37:26 +0200 Message-Id: <20210715182607.822210170@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lijun Pan [ Upstream commit 73214a690c50a134bd364e1a4430e0e7ac81a8d8 ] Fix the following kernel build warnings: drivers/net/ethernet/ibm/ibmvnic.c:1516: warning: Function parameter or member 'skb' not described in 'build_hdr_descs_arr' drivers/net/ethernet/ibm/ibmvnic.c:1516: warning: Function parameter or member 'indir_arr' not described in 'build_hdr_descs_arr' drivers/net/ethernet/ibm/ibmvnic.c:1516: warning: Excess function parameter 'txbuff' description in 'build_hdr_descs_arr' Signed-off-by: Lijun Pan Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 3c77897b3f31..df10b87ca0f8 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -1528,7 +1528,8 @@ static int create_hdr_descs(u8 hdr_field, u8 *hdr_data, int len, int *hdr_len, /** * build_hdr_descs_arr - build a header descriptor array - * @txbuff: tx buffer + * @skb: tx socket buffer + * @indir_arr: indirect array * @num_entries: number of descriptors to be sent * @hdr_field: bit field determining which headers will be sent * -- 2.30.2