Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4230865pxu; Mon, 30 Nov 2020 22:48:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOwOndWN0rN5qLwtQjEXt+wIpDCOSR0ZEFO8dQhMnPdkPBr/5xku54GxsLSHPP4IxpFwD/ X-Received: by 2002:a17:906:7118:: with SMTP id x24mr1574042ejj.333.1606805325451; Mon, 30 Nov 2020 22:48:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606805325; cv=none; d=google.com; s=arc-20160816; b=uRVFK7K1CQ3XJaKrhswG4PkDaatUabk/qQJkBHbbTQOimE46TidVKWcS/PZ1UWQLqw QeO/fWm4LmAYAVhw1vtVGnUJHFLW8Jys6kSDdVNIuVYlrUF+bP+ddEx9iQO3YVixIAVj yyXbXhqYSHEDBhJAvzhFUxFVeAPJsvujuauWNiB8EqsglNnNyWMjqnGsaJweNaJwiO02 8Wfqayv/Knevk1dK0rw3Mxj4NRMJlRiRSnEx9SyjFVQt5igXyAeQxt3ZF9t1ZJXEnaOC cS6Domr9P4lL4oeeQvF6/xnb9Z7H8kuIt5WLrcY4G/u6qrbo34Yg32S1ppKJbaXzEzTX jPlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xdSnvPB3o6PHRPv5Rvjq3Vf/ke1AgtrK1lfTC597ecQ=; b=hHk5dEc36Sns/7y9JppPcyq3BLcAscFDKI5tKFdOl/Gd8L4/5cLsOcq44NhMN4jip2 AiCQ3vS6qPkSm2kDTlCt2vu43tqRXwG/ntZrAH0DbrtuaFc6jLXl5jJiB2oqZYeIOUZK jZaX5WSWGR50lsfgyB/MXui2JpxLhIEwH/K65s9s7yNph38b9ojr21KvpsM26B+xebOk JsLNu+EC3IVqo5dOuOSZCxi5UqLHvNY9HHj78WH9qEvyLthMnigS01AlWUZ26ophM3hq PmtkokJIyz1Qq74Hez5NX4xkGUZOmcU/zDXMVDTUONvXQABXlZo7vekVfsafoXCBWOj7 m4Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BNcDeGVM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n27si381870ejh.345.2020.11.30.22.48.22; Mon, 30 Nov 2020 22:48:45 -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=@gmail.com header.s=20161025 header.b=BNcDeGVM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727117AbgLAGqt (ORCPT + 99 others); Tue, 1 Dec 2020 01:46:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbgLAGqt (ORCPT ); Tue, 1 Dec 2020 01:46:49 -0500 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18163C0613D2; Mon, 30 Nov 2020 22:46:09 -0800 (PST) Received: by mail-oi1-x22b.google.com with SMTP id x16so735631oic.3; Mon, 30 Nov 2020 22:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xdSnvPB3o6PHRPv5Rvjq3Vf/ke1AgtrK1lfTC597ecQ=; b=BNcDeGVMH/wr4qmIgDi9TPmi5wKW/TpLs6Y7n8bFEPTg5daaUWkJy31pEQxegGvvrJ 4MvQHb01SHKO22bIhu3BBOwVd86subqfOniXBzxgz7IZxcC/wHRacGoWI6b2OUIMcrLQ oVnNJ+AMqSf6vwXadEUyYuvzvqVLbMOWg7rmcIe7GBSYEH0rYhfSl97ikwb31OefMd9Q M6OABqZEkDrsIkkGRQiPwuKOh0pzMJQvVQETeyNSQ+TITk5awnnlEfuqlGxHGrcBQMwU v4WEZ8Mhl0EqswKL6uBXjWy8x6Yw6lTkIJI6zb+HKUV6aT8IY9OowlEmE7xNAfAeZcTH KhYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xdSnvPB3o6PHRPv5Rvjq3Vf/ke1AgtrK1lfTC597ecQ=; b=dlkYy/bE3G+7DmhcdEiJ42SKALxaBlLoeL20I7BxgsKvuPEwnhHJjKeSBL6cEm5aKy 7NSGXrRHVcw60EGwe7h3eFrBFzd7+J30fytG0n6qe3JyAsOyvzzjHx98tpnYaRqPCqfO QywkqJaPcA3DXlS+z+IKkmugtDGEi+iudSba2JMCtXWsY04Ir3i8VQCJnXASzW7twbjU t+JTZ8v23UBmEF6cREtuXZzq8on7EZLW7f/Y6B71NlECzx7U4Aia0vzeSModaWg+8Atj 2DSOBy+yvZ8t5dU7yLsI8Yn4n2GZWXs8dkm5jNZ0L333bWJsVv1F++xLefQ9AZ51MtZn y52w== X-Gm-Message-State: AOAM533EnEv8EOaieKYmvQZ0GVRRw0s+B2LOSL7ArIn3BYIYHF4I+jyS Wp89XLvosv5YmvOin2sPJluGMLcEeWxU3WNsLzt90iJId7s= X-Received: by 2002:aca:5a86:: with SMTP id o128mr405749oib.23.1606805168447; Mon, 30 Nov 2020 22:46:08 -0800 (PST) MIME-Version: 1.0 References: <20201201170731.4c93b812@canb.auug.org.au> In-Reply-To: <20201201170731.4c93b812@canb.auug.org.au> From: Sergio Paracuellos Date: Tue, 1 Dec 2020 07:45:57 +0100 Message-ID: Subject: Re: linux-next: build failure after merge of the phy-next tree To: Stephen Rothwell Cc: Kishon Vijay Abraham I , Vinod Koul , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Tue, Dec 1, 2020 at 7:07 AM Stephen Rothwell wrote: > > Hi all, > > After merging the phy-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/phy/ralink/phy-mt7621-pci.c:17:10: fatal error: mt7621.h: No such file or directory > 17 | #include > | ^~~~~~~~~~ > > Caused by commit > > d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY") This driver has two includes which are in "arch/mips/include/asm/mach-ralink" and are directly included in the driver: * mt7621.h * ralink_regs.h This is because this path is directly included in arch/mips/ralink/Platform for "ralink": # # Ralink SoC common stuff # cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink and this driver directly depends on RALINK or COMPILE_TEST (which might be the problem here): and this driver directly depends on RALINK or COMPILE_TEST: config PHY_MT7621_PCI tristate "MediaTek MT7621 PCI PHY Driver" depends on (RALINK || COMPILE_TEST) && OF select GENERIC_PHY select REGMAP_MMIO help Say 'Y' here to add support for MediaTek MT7621 PCI PHY driver > > I have reverted that commit for today. What is the correct way of fixing this? Include complete path for both of them like this? index db79088d5362..cebd53f5a797 100644 --- a/drivers/phy/ralink/phy-mt7621-pci.c +++ b/drivers/phy/ralink/phy-mt7621-pci.c @@ -14,8 +14,8 @@ #include #include #include -#include -#include +#include +#include Vinod, please let me know if you want me to send anything for fixing this. > > -- > Cheers, > Stephen Rothwell Best regards, Sergio Paracuellos