Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4350620pxu; Tue, 1 Dec 2020 02:45:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDgiUynnF+2Q421iP0//ur4N/EIuO+DVxfu17DqY0FEtdesgVz8NAD9o/u7yarBA3X7IWB X-Received: by 2002:a17:906:d1c3:: with SMTP id bs3mr2304330ejb.306.1606819531101; Tue, 01 Dec 2020 02:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606819531; cv=none; d=google.com; s=arc-20160816; b=WI+3G3wIVgAhvOGcpN5Ocx/GW1GPKqOb0ZZwGVLoOe4qDcNiMPYG1C7xL8AfpA36Pv OJVjYEcXo4zI8CZdOtfGBs9DVTuUWmYZeSsykAaIrViwhmcU2EAfZt0TOhYEPshNikSz XC+w6SPUZscPSH+H1NiLhYk991yYRZ6byQt8hiCNQJ2GSYVWJIXM+SYCsrVPIMo2BqS0 kXeBkmoXLqDlRK7jeGI6bCXljsih5zdAriygLeBJ/FZNXvHhEnzCReIlBK01fz2lPmz1 wqjOyRYMSA99LCwREluYqDyIgqUsImmYzuwK3yp2KDzpLKDwkpmtvWV1SO2NLCoP53nP EPVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zw/znzQ50jxvLa7DTFaCP/VlWOd2HojRu0o97biKBTM=; b=Dgoe3c4eKSO5G+JYt+RWL6aUlPwQOuphOeg7jTbEAqyrOiyg/+bdDXVPXmJvD++Pnd Uvis+0/0t4+z7DANWG2eya6xTB8PBVnsEJNAxuf8RaZaiMBbCyZdJ/08WW+2kRID3Bg4 33NbKt0Pswnnq/dUtmuKromkXdzuvgxIvIxcozVKDlV12oJBaB4OOIpQENivpUwg/IV2 f5wpiHP+Rdc0QsQVBd50ngogpYDxH5L6t/n6DH8f8z59Y8hP4gH7IMLZo2erWwLO4ywA nX8G+TjmCkQEXpX/Qn9Bud4dFZE7v7+xFOsP0zGCCGUtgYVAwjVvRKTEENgRhYDNx7e0 gs2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O+1ofRAR; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d17si660689ejh.451.2020.12.01.02.45.08; Tue, 01 Dec 2020 02:45:31 -0800 (PST) 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=@kernel.org header.s=default header.b=O+1ofRAR; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726024AbgLAKnc (ORCPT + 99 others); Tue, 1 Dec 2020 05:43:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:41928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbgLAKnc (ORCPT ); Tue, 1 Dec 2020 05:43:32 -0500 Received: from localhost (unknown [122.171.214.243]) (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 535A720809; Tue, 1 Dec 2020 10:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606819371; bh=Zz2nhRfdKwkp/9D1FoCKHCB7GyTWLmDJ7RBVZaYIkpw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O+1ofRARdpI/DXvQBQvKDREzQxITarBbaFCahcKVQYzr9NvFLJyr/pdMl6o8BYM68 HvwI4SMPaOT406eQLC01vsJyThKDXgUgbNNfgX9xrdV0SRGKBStZfuRm6BClsf6ZpD vnChpTsG/cAjVfLHHYuMN0+s47hmnJky2NWrnyqQ= Date: Tue, 1 Dec 2020 16:12:46 +0530 From: Vinod Koul To: Sergio Paracuellos Cc: kishon@ti.com, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org Subject: Re: [PATCH 1/3] phy: ralink: phy-mt7621-pci: add include search path in Makefile Message-ID: <20201201104246.GA8403@vkoul-mobl> References: <20201201101612.28458-1-sergio.paracuellos@gmail.com> <20201201101612.28458-2-sergio.paracuellos@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201201101612.28458-2-sergio.paracuellos@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01-12-20, 11:16, Sergio Paracuellos wrote: > This driver includes the following two files directly: > - mt7621.h > - ralink_regs.h > > Compilation for its related platform properly works because > its real path is included in 'arch/mips/ralink/Platform' as > cflags. > > This driver depends on RALINK but also is enabled for COMPILE_TEST > where nothing about its platform is known and this directly > included files are not found at all breaking compilation. > > Fix this problem adding include search path for ralink in > ralink phy directory Makefile. > > Fixes: d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY") Pls add reported-by sfr.. > Signed-off-by: Sergio Paracuellos > --- > drivers/phy/ralink/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/phy/ralink/Makefile b/drivers/phy/ralink/Makefile > index cda2a4a7ca5e..c8f9adba0d82 100644 > --- a/drivers/phy/ralink/Makefile > +++ b/drivers/phy/ralink/Makefile > @@ -1,3 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0-only > + > +ccflags-y += -I$(srctree)/arch/mips/include/asm/mach-ralink Can we include instead of using this? > + > obj-$(CONFIG_PHY_MT7621_PCI) += phy-mt7621-pci.o > obj-$(CONFIG_PHY_RALINK_USB) += phy-ralink-usb.o > -- > 2.25.1 -- ~Vinod