Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp386059yba; Wed, 24 Apr 2019 03:02:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqeyWIAUcV+8sSAJN9yhyxOZOBnm+NtTaZ9ihwaucE+xRbPWetG1vcQjSz1FYa5ITKQ2qs X-Received: by 2002:a65:648f:: with SMTP id e15mr30009764pgv.414.1556100175889; Wed, 24 Apr 2019 03:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556100175; cv=none; d=google.com; s=arc-20160816; b=rt770xBGVpbfebZ7H2tAdX/5gfSbyhW/r/BZRuJadc0RLmXdx9mMetktAgyTsjQlPC aa/tqtFL9yfwBFJlbeXrSXY9b4hhNRa5LPu0XEt0hgjQOZhfdblR/N0nFdYTF7YLzya0 t9mZehN4y97Q7krAcqu7OeEUZxaT1bUym5sAWvQ0nVXMn/Ad5zJydrBOuvxpqT2HEeJc UqBWZYq5P0npnC0+Hvr/76FfIbq1Ifiu1k9SH3cvlLkUQ60RgY/V1/NamK/hXDQDvARd H71lLbHa25Dw/uAHr+nSV2RdSLCAas2BF8hEyQ4Sf7NOBtamkp0XaqdxVuyTkyWyUd8S EatQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OHQL2y0BDW791862m53Pr9fkQIZ//kg+GVuv1mxYyFw=; b=J5Z1jfA0EMDxc/U8YUQ0WXUzAR/IcHzEt8ko7hlU3FVYtzY4CyUIcNL1i+++KoazPb kThbg8i/gYYMcJBNiow0j/LVfoj9n8JzJPp9RqXQLUfKRhdd4Z+mZKag5EqWliukWcbr JCCdk/qNKbVtat4lCgM3dGQ+crd/H1kGCduJbMs6lO23MeyAscph5kKDtegAceDx+JX8 DMfhaUhffPhHMR8y5o4uvXjzBtop1eWLeWrmpsbDwL39dXLr4/mEJYwo8gDAVGpDS2Qy 3BqVqJdxLBpSJLqcBEN9U8KGe5f9KeUtHkI20czDMmWRLUNwel8Nt2K+MS5ln+Wy2HaN IP1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=pNTPcMDw; 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si806358plr.365.2019.04.24.03.02.34; Wed, 24 Apr 2019 03:02:55 -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=@nxp.com header.s=selector1 header.b=pNTPcMDw; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbfDXKAb (ORCPT + 99 others); Wed, 24 Apr 2019 06:00:31 -0400 Received: from mail-eopbgr80052.outbound.protection.outlook.com ([40.107.8.52]:59506 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726167AbfDXKAb (ORCPT ); Wed, 24 Apr 2019 06:00:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OHQL2y0BDW791862m53Pr9fkQIZ//kg+GVuv1mxYyFw=; b=pNTPcMDw53xz6oxTX1bjDR3V1Mx7eW2LSYCEuNMukWt/S6bzZKMhZkr172cvJ7TX6D7x+7GBLQOFOkGWVBrDDhGea312ZrUeZf9l9T7F/qLGOaSid/OaDPMAXJfErk22TjzD73IbcfPC+z34q5erOsaRlbtIJXF3Hc1eXBhaiHY= Received: from AM0PR04MB6434.eurprd04.prod.outlook.com (20.179.252.215) by AM0PR04MB4372.eurprd04.prod.outlook.com (52.135.149.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.17; Wed, 24 Apr 2019 10:00:28 +0000 Received: from AM0PR04MB6434.eurprd04.prod.outlook.com ([fe80::a1d7:51b5:9893:dcee]) by AM0PR04MB6434.eurprd04.prod.outlook.com ([fe80::a1d7:51b5:9893:dcee%2]) with mapi id 15.20.1813.017; Wed, 24 Apr 2019 10:00:27 +0000 From: Leonard Crestez To: Yue Haibing , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , dl-linux-imx , "l.stach@pengutronix.de" , Aisheng Dong , Abel Vesa , Anson Huang , "catalin.marinas@arm.com" , "will.deacon@arm.com" CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2] soc: imx: Fix build error without CONFIG_SOC_BUS Thread-Topic: [PATCH v2] soc: imx: Fix build error without CONFIG_SOC_BUS Thread-Index: AQHU+n5V1uzI2qbZiESwH7JXPIfB8A== Date: Wed, 24 Apr 2019 10:00:27 +0000 Message-ID: References: <20190424075946.23124-1-yuehaibing@huawei.com> <20190424091517.41428-1-yuehaibing@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7495368c-a4c6-466e-cf80-08d6c89badba x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM0PR04MB4372; x-ms-traffictypediagnostic: AM0PR04MB4372: x-microsoft-antispam-prvs: x-forefront-prvs: 00179089FD x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(136003)(376002)(346002)(396003)(199004)(189003)(6116002)(478600001)(5660300002)(2501003)(52536014)(71200400001)(3846002)(102836004)(76176011)(6506007)(14454004)(8936002)(64756008)(8676002)(4744005)(86362001)(305945005)(7736002)(76116006)(53546011)(91956017)(66446008)(66946007)(66556008)(97736004)(73956011)(66476007)(81166006)(81156014)(7696005)(7416002)(229853002)(74316002)(99286004)(71190400001)(55016002)(186003)(66066001)(446003)(6436002)(4326008)(2906002)(6246003)(53936002)(256004)(33656002)(68736007)(44832011)(2201001)(25786009)(26005)(486006)(110136005)(54906003)(476003)(9686003)(316002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4372;H:AM0PR04MB6434.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r5vkp9URbQ3GTVbpC9XWyuloTD/HqsI3jU+Q+k46dK4tsFTG1XiQsai1//cntJ8mdF2NZQGPkLGaYQcdVbYlLQ9NdG6AZdAfvsf5+Xej/1PM1MpEaVfNJ4TgAZHkqWUnpp4vYp3WPko/3FZDP2UFYcN3lqQ39L7HklMrSiF1Vsybby4DOsUtZgbgRzQDvHs3sUb1FKEc2uei1VdPc08ZUxmoChaPPYPno++iLkkOeXL0+837Z4dl9kMP/vkeWMC2Wi74hI3kgkHKAoPt8nsGEPN+fEWJePCiWb9x9Glb4D3OGylG/Y5lG2rs/s/NUhUPkFfr15/a9tBZILCmSlEi5bXW4l8hhk/+GxzcMwvdoZiCi7gIt4e0TsIJMVBEooreFY4p01B7iPJOz5xW4KgNtt29ddAzv3iXDOv1DcNsgsQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7495368c-a4c6-466e-cf80-08d6c89badba X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2019 10:00:27.8440 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4372 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.04.2019 12:16, Yue Haibing wrote:=0A= > From: YueHaibing =0A= > =0A= > During randconfig builds, I occasionally run into an invalid configuratio= n=0A= > =0A= > drivers/soc/imx/soc-imx8.o: In function `imx8_soc_init':=0A= > soc-imx8.c:(.init.text+0x144): undefined reference to `soc_device_registe= r'=0A= > =0A= > while CONFIG_SOC_BUS is not set, the building failed like this. This patc= h=0A= > selects SOC_BUS to fix it.=0A= > =0A= > Reported-by: Hulk Robot =0A= > Fixes: a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver")=0A= > Suggested-by: Leonard Crestez =0A= > Signed-off-by: YueHaibing =0A= =0A= Reviewed-by: Leonard Crestez =0A=