From patchwork Thu Mar 11 07:09:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 12130517 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B47C433E9 for ; Thu, 11 Mar 2021 07:10:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 446D26501A for ; Thu, 11 Mar 2021 07:10:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231908AbhCKHJ7 (ORCPT ); Thu, 11 Mar 2021 02:09:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:52326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbhCKHJj (ORCPT ); Thu, 11 Mar 2021 02:09:39 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0F3066501D; Thu, 11 Mar 2021 07:09:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615446579; bh=Xm9xbUhHIhf+RmdaKGMVIgr+4TGOVDiIsRbMIzxu0uU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qgXNKflKCjR6jVEbzqx8zCCqmM+qN1vke6oHAE4m+aXfJq6atlX/2F4iPZ7zAdqBw oi29c4fL1nLgz1/1ojsEDix7a+Ep7Yy9gec5dWRj7fD45d4L76o4sZwpAlsIaSuC2d RHyl3A1BQepPifXXVAuKeZdxtnHEkJZbatetX7X68Zi0M3hTpqd/whZpjm/WgiyyUY kXSe3TdakIRy1mCAxH1A0a2Mm3RBPJOhdvLdRLdduCrbDIoIx+EIo/ghhScmIt7LY8 TDOjB3JPRCMJeFeR6rrEfFOdarAYWwPEpumFdBZkZF3GVy2Hgq+9FIKWjGXrzhotKy TGkNi7aK/KPbQ== From: Saeed Mahameed To: Saeed Mahameed , Leon Romanovsky , netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: [PATCH mlx5-next 1/9] net/mlx5: Cleanup prototype warning Date: Wed, 10 Mar 2021 23:09:07 -0800 Message-Id: <20210311070915.321814-2-saeed@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210311070915.321814-1-saeed@kernel.org> References: <20210311070915.321814-1-saeed@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Saeed Mahameed Cleanup W=1 warning: drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c:49: warning: expecting prototype for Set lag port affinity(). Prototype was for mlx5_lag_set_port_affinity() instead Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c b/drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c index 88e58ac902de..2c41a6920264 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c @@ -35,7 +35,7 @@ bool mlx5_lag_is_multipath(struct mlx5_core_dev *dev) } /** - * Set lag port affinity + * mlx5_lag_set_port_affinity * * @ldev: lag device * @port: