From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BD549C43463 for ; Fri, 18 Sep 2020 17:43:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 79BF421741 for ; Fri, 18 Sep 2020 17:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600451017; bh=ntAJibKjZjceVsHkZnqQPsOnz+8GOgKGWmMUTDStI1E=; h=Subject:From:To:Cc:Date:In-Reply-To:References:List-ID:From; b=OB5vxzWsYtb38j+BZwTMC3Wr7CpgIG1JebMTteHDtlU8+nFxjeu46PUv1Va0TA/WY SF7JQ6d6eT/6TMjL3HNGTcqQDDDThvT44LQteZYAQLvXxRRoO2zK9HEP7ENE+D6NGj T09/3qhLXV2hvqBmfyUsrteaoPQzxkpmkxg8N/yA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726192AbgIRRng (ORCPT ); Fri, 18 Sep 2020 13:43:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:45924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbgIRRng (ORCPT ); Fri, 18 Sep 2020 13:43:36 -0400 Received: from lt-jalone-7480.mtl.com (c-24-6-56-119.hsd1.ca.comcast.net [24.6.56.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EA5E21707; Fri, 18 Sep 2020 17:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600451015; bh=ntAJibKjZjceVsHkZnqQPsOnz+8GOgKGWmMUTDStI1E=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=CkCun1EIOwnX/QjKXTP5/sTnq/gTQPIHqqi/CInvJUuhin6TTpb6x/wDcwCj49IJ8 ZJTZKMwxk3ANqbwxuAoPm1ZRxG4eiEmIZwgG7J++4PTBtygLoNAs5bD+r3H8pI5a1Z EcqPiIxZgsT3gz3v5w2jesbyUR1YL71Q+QArlAN8= Message-ID: Subject: Re: [PATCH net-next] net: hns3: Supply missing hclge_dcb.h include file From: Saeed Mahameed To: Wang Hai , yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net, kuba@kernel.org, tanhuazhong@huawei.com, liaoguojia@huawei.com, liuyonglong@huawei.com, linyunsheng@huawei.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 18 Sep 2020 10:43:34 -0700 In-Reply-To: <20200918130653.20064-1-wanghai38@huawei.com> References: <20200918130653.20064-1-wanghai38@huawei.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-09-18 at 21:06 +0800, Wang Hai wrote: > If the header file containing a function's prototype isn't included > by > the sourcefile containing the associated function, the build system > complains of missing prototypes. > > Fixes the following W=1 kernel build warning(s): > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c:453:6: > warning: no previous prototype for ‘hclge_dcb_ops_set’ [-Wmissing- > prototypes] > > Signed-off-by: Wang Hai > --- Reviewed-by: Saeed Mahameed