Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp118505pxb; Mon, 2 Nov 2020 15:56:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe445q1auuxPvQRA44iXynwllc91v93fIuOdnF6/EB9NIdQgXX4LLcQqSvnnN93WMNYPns X-Received: by 2002:a17:906:f84f:: with SMTP id ks15mr9560310ejb.337.1604361370539; Mon, 02 Nov 2020 15:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604361370; cv=none; d=google.com; s=arc-20160816; b=ZoR5iGtR26KwGmAh0Spp/xp291MwsxtAh1vnwWUKhBAPYGiN2Xv5ZED00renCkFot7 2Vz85agsZbr4ZN6p0cJ21PVU4NNqrZC7FcfzAAEjsZZQE/FYZcil/+e9YBeIMHhI33mw RzpMhsNfGH5DJIWnTQiXOWWhdKsvf/QfHuiVRakAPd9f6fn6kc+a3KMDPZYBtBL5kcSI 9nDkMndLJf9UngohGQ4Kt6zzju0QkrYk5SoCuNEpBGawW7jXrWqMBsSy7/UXXAxE7fbM v3zFgVoGStgZOLDPxGqfqHtarN9wp0MjVMc0+46YoE2Dfg7US8L8nKpUyPxwzVnvyITC VYNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TiLgTnu1mIXIqmCIY+Ard+HNsk840XwVOGgd0TTsefo=; b=ZCb3ebjgAYHW65au6jlWFLqwd/ICSRKvLD2kwJZq50qv09i1Y6w19cFNH/y3BDwQvF JEwL699JMXq1sTT/jThiCU8hdDK6hR60UwUX/v+pD8IDeEVNQdywS9n9YYRE9vUeD4Iq CVdII8+Bdvq75LcDDjSfSnXaXHZLmVQnzkDHlt2l9llZaogswkUbGoHOuw+EVFsVR+q4 3PxmkQcwGuqUvtEpxzBXkDlsrfCRm1VbXpa3rUpS7mMfZlz+lym08JY6HrLmK76oPc5I aP8Wj17j8aLidNkxr3W9j/yPJrC8FmIEyctSaKoL5sZ3Jct24hXTcBR1aTL6UR9vEDBf 9u2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UA92Oc8q; 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 j15si7919501eds.511.2020.11.02.15.55.47; Mon, 02 Nov 2020 15:56:10 -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=UA92Oc8q; 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 S1726860AbgKBXwZ (ORCPT + 99 others); Mon, 2 Nov 2020 18:52:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:36304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbgKBXwZ (ORCPT ); Mon, 2 Nov 2020 18:52:25 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (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 05712207C4; Mon, 2 Nov 2020 23:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604361144; bh=f7s3D49TOtYE8QyV/cjeavqKhcKCcZ3+a8aGAtJXWl0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UA92Oc8qZHT67MNv/dtw8V952ib+nKyWbMvJ7pP+Y6mpC8m5tVYWYmgUPJ4oBhYDT BkVTX0bExp1pifjBSFvywAyE7wZLGG5w3eVDFpaHKKVj7N6o6TvIc4DmrrkSrnumEo /NAtSo/fwViV618kSDk9oCdk+opBXJrY8alSsciI= Date: Tue, 3 Nov 2020 07:52:19 +0800 From: Shawn Guo To: Randy Dunlap Cc: Valdis =?utf-8?Q?Kl=C4=93tnieks?= , Dong Aisheng , Michael Turquette , Stephen Boyd , Sascha Hauer , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] clk: imx: scu: Fix compile error with module build of clk-scu.o Message-ID: <20201102235218.GY31601@dragon> References: <208469.1604318525@turing-police> <6e5a8fdb-0a02-5eae-ca1f-37df8a454e34@infradead.org> <238534.1604350899@turing-police> <0b61c4f4-b389-c853-6e09-ee603455e583@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0b61c4f4-b389-c853-6e09-ee603455e583@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 02, 2020 at 01:31:59PM -0800, Randy Dunlap wrote: > On 11/2/20 1:01 PM, Valdis Klētnieks wrote: > > On Mon, 02 Nov 2020 09:15:20 -0800, Randy Dunlap said: > > > >> also > >> Reported-by: kernel test robot > >> > >> However, this driver does not directly use . > > > > Just my luck - I looked at 3 or 4 other things that include of_platform.h > > and they all *did* include module.h. > > > >> platform_device.h #includes , which is where the > >> problem lies: > >> > >> uses macros that are provided by > >> so should #include . > >> > >> and that fixes this commit: > >> > >> commit 4c002c978b7f2f2306d53de051c054504af920a9 > >> Author: Greg Kroah-Hartman > >> Date: Mon Dec 9 20:33:03 2019 +0100 > >> > >> device.h: move 'struct driver' stuff out to device/driver.h > > > > OK.. who's going to do that? Me, or Randy, or Greg? > > You could go ahead... I began on it yesterday but didn't finish > testing, although I did see the same build error that the 0day > bot reported, so I don't know what it's going to take to fix that. It's a driver problem which is being addressed by Dong's patch[1]. Shawn [1] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20201030153733.30160-1-aisheng.dong@nxp.com/