Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3718940yba; Sat, 11 May 2019 18:26:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS6hK9MNBqXYqXdxd3CRGT7j/Tr55eR9mlD3ugk2xuS/kVT8PTelwr8/bPKfP9m4TFjjbc X-Received: by 2002:a17:902:56d:: with SMTP id 100mr22777449plf.246.1557624372354; Sat, 11 May 2019 18:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557624372; cv=none; d=google.com; s=arc-20160816; b=aJBV2dNIW4J6d7FjIcT0Ko1Beb8PkIztHte3im72Hk0gdZ8zQdd3SaNsXYdjlsMUtH PHLyax0+I7mT+BhxXBkGDMoCeNUMt05sEk+J9MmVxxJkVB9WAPUJydTp+SS666BKrgHk YRsq2MTuHf1vatO3aj8c/trS+q3FsdQDBKMo+wBTrDO4WluCSeGdlVopBmGrb9dGAcmh AiduixdRzf5aH7d5cMnq0n9Twgs2pW/dEgyyQTmdFz69mCVPB4zvCUrpDLKpSJ8+gGY+ zUbD+ZQtQGbBEh5D8AfD98eOFxOT/3lI6XSQPseDoMZR/MMrjgFyFNsXzcX0ey5og0HI rjuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VEYPAKHjK1Ibj6gs5ZYBRGOXtmzanZBwAl+ABbpXKuw=; b=nAXcA6KyVimNuSqMVpIJaZ9+PjZHNWLMLbHj3UmpruOCmt4BRByWUxnza/sHBzZSAs pidKHsPI3lChve2pqnhPjXFlnr80ySRWTvyAWxJv4MM4Fht7RApzKy51bUmcGJH3RQ1Q 53OC0452JzJlmPbwY/HsW/De5xBQBlXYYITM691VYRS+PgcmKhDLYiDC4JauSuzDCGmz xI83ojdjdC4KbI/eDOI1swBgC5YwqvBYCrWNu0AV2vniDU/OffCRl32tqIQPy/ebAD9s J6LfEbKfEjNn3yXk8yU6WOySc89J7noviHekzhv6oqTUJSi6/tQ1W41GjZ58HAd2UqYS tVHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=C6nDma1n; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si13429645pgj.284.2019.05.11.18.25.43; Sat, 11 May 2019 18:26:12 -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; dkim=pass header.i=@kernel.org header.s=default header.b=C6nDma1n; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726348AbfELBWK (ORCPT + 99 others); Sat, 11 May 2019 21:22:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:45656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfELBWK (ORCPT ); Sat, 11 May 2019 21:22:10 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 92AFC2146F; Sun, 12 May 2019 01:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557624129; bh=5ZGZfSMt7JWFTmyD6eRpM78FKp9+Qug/MsjKRQtK8hE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C6nDma1n8GEgfCgkDYhNrFm4VESoKik0IiYhT6nrTkYITtJ/RBk82j1qQoTNGWHX3 qb28uTaxeDZUxLqhEliMRoa/RWthK3dHxJBI0+0xjLItPO3Jg4dv8p7U+KyRyAQaqy 9ndIO+XjvD2Dk/bbGVIsk6y3fMqYeeXflapdCPK0= Date: Sun, 12 May 2019 09:21:36 +0800 From: Shawn Guo To: Yue Haibing Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, l.stach@pengutronix.de, aisheng.dong@nxp.com, leonard.crestez@nxp.com, abel.vesa@nxp.com, Anson.Huang@nxp.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] soc: imx: Fix build error without CONFIG_SOC_BUS Message-ID: <20190512012134.GL15856@dragon> References: <20190424075946.23124-1-yuehaibing@huawei.com> <20190424091517.41428-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190424091517.41428-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 05:15:17PM +0800, Yue Haibing wrote: > From: YueHaibing > > During randconfig builds, I occasionally run into an invalid configuration > > drivers/soc/imx/soc-imx8.o: In function `imx8_soc_init': > soc-imx8.c:(.init.text+0x144): undefined reference to `soc_device_register' > > while CONFIG_SOC_BUS is not set, the building failed like this. This patch > selects SOC_BUS to fix it. > > Reported-by: Hulk Robot > Fixes: a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver") > Suggested-by: Leonard Crestez > Signed-off-by: YueHaibing > --- > v2: select SOC_BUS from CONFIG_ARCH_MXC directly > --- So this becomes a 'arm64: imx: ' change. I updated the subject prefix and applied the patch. Shawn