Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbbHLIK3 (ORCPT ); Wed, 12 Aug 2015 04:10:29 -0400 Received: from mail-bn1bon0139.outbound.protection.outlook.com ([157.56.111.139]:20543 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753353AbbHLIKP convert rfc822-to-8bit (ORCPT ); Wed, 12 Aug 2015 04:10:15 -0400 X-Greylist: delayed 13769 seconds by postgrey-1.27 at vger.kernel.org; Wed, 12 Aug 2015 04:10:15 EDT From: Wang Dongsheng To: Russell King - ARM Linux CC: "shawn.guo@linaro.org" , Huan Wang , "linus.walleij@linaro.org" , "linux-kernel@vger.kernel.org" , "sandeep_n@ti.com" , "hdegoede@redhat.com" , "linux-arm-kernel@lists.infradead.org" Subject: RE: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers Thread-Topic: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers Thread-Index: AQHQ1MP2jfX7R1agm0Om+LeFW0Tl4J4H+/SAgAAB3qCAAAOCAIAAAW6w Date: Wed, 12 Aug 2015 08:10:12 +0000 Message-ID: References: <1439358807-9024-1-git-send-email-dongsheng.wang@freescale.com> <20150812074439.GF7557@n2100.arm.linux.org.uk> <20150812080354.GH7557@n2100.arm.linux.org.uk> In-Reply-To: <20150812080354.GH7557@n2100.arm.linux.org.uk> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Dongsheng.Wang@freescale.com; x-originating-ip: [192.158.241.86] x-microsoft-exchange-diagnostics: 1;CY1PR0301MB0874;5:/IKPTlSqcQ7YlP2zr3L2UxWJU9l6Ph3FYzgI15FUZyDPW+p7tZ/fFRHOYmGNLAWzLHEY0Q3zs8u2lmYU8OY3HxJae8ODLCNmsPEcmLETCZ2moJZxWPLAQG8k+QH6oG5D7Cxi/5xFVgsmLJAp1bCIWA==;24:yWocKRqrXdF9z+TPX9dMfskyEOldn5XlfozK/REpERoNHpjcEP6AAuMMiUw681dBpYmA/iitZa4YuFp4o2dUX+Hgo1oP2KM2IoOeUwEKPLY=;20:7Fi3u3/wcWsZOa9KynZG4oQUrbaWjfS0ZFrAhklDLNhGs0iY/5eF8JP/WxhaOJKZ0PDIgDk1YYmKLMv1VBsQCQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0874; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:CY1PR0301MB0874;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB0874; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(13464003)(199003)(377454003)(24454002)(19580395003)(87936001)(50986999)(19580405001)(74316001)(101416001)(5001830100001)(33656002)(81156007)(77096005)(92566002)(54356999)(64706001)(5001860100001)(4001540100001)(110136002)(189998001)(10400500002)(106356001)(5002640100001)(99286002)(97736004)(68736005)(5001960100002)(93886004)(86362001)(5003600100002)(46102003)(122556002)(40100003)(62966003)(76176999)(66066001)(2900100001)(2656002)(105586002)(102836002)(106116001)(77156002)(76576001)(2950100001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0301MB0874;H:SN1PR0301MB1616.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Aug 2015 08:10:12.0786 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0874 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3428 Lines: 103 > -----Original Message----- > From: Russell King - ARM Linux [mailto:linux@arm.linux.org.uk] > Sent: Wednesday, August 12, 2015 4:04 PM > To: Wang Dongsheng-B40534 > Cc: shawn.guo@linaro.org; Wang Huan-B18965; linus.walleij@linaro.org; linux- > kernel@vger.kernel.org; sandeep_n@ti.com; hdegoede@redhat.com; linux-arm- > kernel@lists.infradead.org > Subject: Re: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers > > On Wed, Aug 12, 2015 at 08:01:32AM +0000, Wang Dongsheng wrote: > > Hi Russell, > > > > Thanks for your review. :) > > > > > -----Original Message----- > > > From: Russell King - ARM Linux [mailto:linux@arm.linux.org.uk] > > > Sent: Wednesday, August 12, 2015 3:45 PM > > > To: Wang Dongsheng-B40534 > > > Cc: shawn.guo@linaro.org; Wang Huan-B18965; > > > linus.walleij@linaro.org; linux- kernel@vger.kernel.org; > > > sandeep_n@ti.com; hdegoede@redhat.com; linux-arm- > > > kernel@lists.infradead.org > > > Subject: Re: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC > > > specific drivers > > > > > > On Wed, Aug 12, 2015 at 01:53:26PM +0800, Dongsheng Wang wrote: > > > > diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig new > > > > file mode 100644 index 0000000..863d1ef > > > > --- /dev/null > > > > +++ b/drivers/soc/fsl/Kconfig > > > > @@ -0,0 +1,18 @@ > > > > +# > > > > +# Freescale SOC drivers > > > > +# > > > > +menuconfig FSL_SOC_DRIVERS > > > > + bool "Freescale Soc Drivers" > > > > + default n > > > > > > No need for default n. > > > > Thanks. Fix it in next version. > > > > > > + help > > > > + Say y here to enable Freescale LS1021A Soc Device Drivers support. > > > > + The Soc Drivers provides the device driver that is a specific block > > > > + or feature on LS1021A platform. > > > > > > Help text should be indented by two spaces as per almost every other help > text. > > > > > > > Thanks. My mistake... > > > > > > + > > > > +if LS1_SOC_DRIVERS > > > > + source "drivers/soc/fsl/ls1/Kconfig" > > > > +endif > > > > diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile > > > > new file mode 100644 index 0000000..b4215dd > > > > --- /dev/null > > > > +++ b/drivers/soc/fsl/Makefile > > > > @@ -0,0 +1,6 @@ > > > > +# > > > > +# Makefile for Freescale Soc specific device drivers. > > > > +# > > > > + > > > > +obj-$(CONFIG_LS1_SOC_DRIVERS) += ls1/ > > > > + > > > > diff --git a/drivers/soc/fsl/ls1/Kconfig > > > > b/drivers/soc/fsl/ls1/Kconfig new file mode 100644 index > > > > 0000000..7556f44 > > > > --- /dev/null > > > > +++ b/drivers/soc/fsl/ls1/Kconfig > > > > @@ -0,0 +1,3 @@ > > > > +# > > > > +# LS-1 Soc drivers > > > > +# > > > > > > Doesn't this directory need a Makefile as well? > > > > > > > 2/2 patch add a config option and Makefile for this. > > If _just_ this patch is merged, it creates a build problem as > CONFIG_LS1_SOC_DRIVERS can be enabled, which will cause the kbuild to decend > into drivers/soc/fsl/ls1, where it will stop due to the missing build error. > > Please fix this by adding at least an empty Makefile to this directory. > Do not rely on patch 2 being merged to "fix" this. > Um..Yes, miss it. Fix it in next version. :) Regards, -Dongsheng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/