Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp274747img; Wed, 27 Mar 2019 22:49:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnJKs6+AEt8xwBcAM+0qXh5bwBD757Nh99DUQAYXauexueT+Khex7I6YKqdRmgR5HQJgDV X-Received: by 2002:a62:1c13:: with SMTP id c19mr1063049pfc.11.1553752155272; Wed, 27 Mar 2019 22:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553752155; cv=none; d=google.com; s=arc-20160816; b=O3TZQdb9tCd4r1QghdTOQxCzU6Q0L/YfPNRtTo3SrJp6W2tlihpsfdtQWwqgVsTEnZ GGQUd4eBGvOGanZo3IabB+g/haSVQ2LUT3Fv9KM3yn+WjsaiWxztlHasfrURohXI0gA0 R/7W62kCiLeMuFPno0wkuLJLbcu++EuYtrp0T5bJfkFbV2DPO0bMfcmQVyu4e709kazZ t4sgr3hPG+ZN06dLFqdrmnus3PIruvfQU83epI7Vqyeg7NTTHkbHUN8v+Zs6liEA+W2h qEUprNf6BILFOnsRzvt963wiYwz4vedR4QxqOcSmbwAQScRWs5NgXX5oDoewipLupELm r+eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=CduyD5Gdc8scpzmpnuXuTx4lwkhuzKnQB50atLUAJMQ=; b=NxcbHkMi1AUfzQUkro6tUh3ID+8Q7slNPCq76djSA5Fsivwf27mWAD3gCMBhymyXv6 dNHO0dIUohNOG4CXvamxKmiHa/IefaG+BPLWPK9vMDjL8rjTOvxbc6VRglvOQFbT/NXy H/mmMrcurWG2cstVzuNJgQL83bFxiGsS+E6+FfYPOVThkharBkRuPBFrjkuzXjsnFUx4 z1ttwEWbjuR5AOqMqTJ7NiPlq3t6XurfWL1ZR3BIFmxZZ7LHLO0x3t8VGKRUIGV7dt9O 4UpWtbsbRYJD8TtQdlJPesH/Azfyg28dHHkeRnyxU8DxwirOEsbRaL53Q9VP2lMI+sHs wzog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si3305374ple.52.2019.03.27.22.48.59; Wed, 27 Mar 2019 22:49:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726224AbfC1FsN (ORCPT + 99 others); Thu, 28 Mar 2019 01:48:13 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34754 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfC1FsN (ORCPT ); Thu, 28 Mar 2019 01:48:13 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5B3191086215C; Wed, 27 Mar 2019 22:48:12 -0700 (PDT) Date: Wed, 27 Mar 2019 22:48:11 -0700 (PDT) Message-Id: <20190327.224811.2020685573680145957.davem@davemloft.net> To: wangxi11@huawei.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com Subject: Re: [PATCH net] net: hns3: fix compile error From: David Miller In-Reply-To: <1553583229-121323-1-git-send-email-wangxi11@huawei.com> References: <1553583229-121323-1-git-send-email-wangxi11@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 27 Mar 2019 22:48:12 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xi Wang Date: Tue, 26 Mar 2019 14:53:49 +0800 > Currently, the rules for configuring search paths in Kbuild have > changed, this will lead some erros when compiling hns3 with the > following command: > > make O=DIR M=drivers/net/ethernet/hisilicon/hns3 > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c:11:10: > fatal error: hnae3.h: No such file or directory > > This patch fix it by adding $(srctree)/ prefix to the serach paths. > > Signed-off-by: Xi Wang Applied.