Re: [PATCH] build some drivers only when compile-testing

2013-06-25 Thread Jiri Slaby
On 06/25/2013 01:42 AM, Greg Kroah-Hartman wrote: > On Wed, Jun 19, 2013 at 08:50:08AM +0200, Jiri Slaby wrote: >> On 06/18/2013 06:04 PM, Greg Kroah-Hartman wrote: So currently I have what is attached... Comments? >>> >>> Looks good to me, want me to queue it up through my char/misc driver >>

Re: [PATCH] build some drivers only when compile-testing

2013-06-24 Thread Greg Kroah-Hartman
On Wed, Jun 19, 2013 at 08:50:08AM +0200, Jiri Slaby wrote: > On 06/18/2013 06:04 PM, Greg Kroah-Hartman wrote: > >> So currently I have what is attached... Comments? > > > > Looks good to me, want me to queue it up through my char/misc driver > > tree for 3.11? > > If there are no objections...

Re: [PATCH] build some drivers only when compile-testing

2013-06-19 Thread Mark Brown
On Tue, Jun 18, 2013 at 11:34:26AM +0300, Felipe Balbi wrote: > MUSB alone has 8 different arch choices. Before, it used to be that core > driver was dependendent on all of them, so whenever someone wanted to > build MUSB for another arch, they had to introdude their glue code and > modify the dep

Re: [PATCH] build some drivers only when compile-testing

2013-06-19 Thread Greg Kroah-Hartman
On Wed, Jun 19, 2013 at 09:12:56AM +0200, Jiri Slaby wrote: > On 06/19/2013 09:10 AM, Tomi Valkeinen wrote: > > On 17/06/13 23:05, Jiri Slaby wrote: > > > >> The last point I inclined to the Greg's argument to remove the > >> EXPERT dependency. > >> > >> So currently I have what is attached... Co

Re: [PATCH] build some drivers only when compile-testing

2013-06-19 Thread Tomi Valkeinen
On 19/06/13 10:12, Jiri Slaby wrote: > On 06/19/2013 09:10 AM, Tomi Valkeinen wrote: >> On 17/06/13 23:05, Jiri Slaby wrote: >> >>> The last point I inclined to the Greg's argument to remove the >>> EXPERT dependency. >>> >>> So currently I have what is attached... Comments? >> >> The patch looks a

Re: [PATCH] build some drivers only when compile-testing

2013-06-19 Thread Jiri Slaby
On 06/19/2013 09:10 AM, Tomi Valkeinen wrote: > On 17/06/13 23:05, Jiri Slaby wrote: > >> The last point I inclined to the Greg's argument to remove the >> EXPERT dependency. >> >> So currently I have what is attached... Comments? > > The patch looks a bit odd with the USB_CHIPIDEA_IMX parts. Yo

Re: [PATCH] build some drivers only when compile-testing

2013-06-19 Thread Tomi Valkeinen
On 17/06/13 23:05, Jiri Slaby wrote: > The last point I inclined to the Greg's argument to remove the EXPERT > dependency. > > So currently I have what is attached... Comments? The patch looks a bit odd with the USB_CHIPIDEA_IMX parts. You're not adding COMPILE_TEST there, but you're adding a to

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Jiri Slaby
On 06/18/2013 06:04 PM, Greg Kroah-Hartman wrote: >> So currently I have what is attached... Comments? > > Looks good to me, want me to queue it up through my char/misc driver > tree for 3.11? If there are no objections... Whoever picks that up, I would be happy 8-). -- js suse labs -- To unsub

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Greg Kroah-Hartman
On Mon, Jun 17, 2013 at 10:05:19PM +0200, Jiri Slaby wrote: > On 05/23/2013 05:09 AM, Jeff Mahoney wrote: > > On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: > >> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: > >>> Some drivers can be built on more platforms than they run on. This > >>

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Jiri Slaby
On 06/18/2013 10:51 AM, Felipe Balbi wrote: > right, but my argument is that I rather not have either. Depend on > PCI if you us PCI, depend on EXTCON if you use extcon, but no > driver should have an ARCH dependency. Specially since it lets > people include mach/* and asm/* headers because "it doe

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 10:44:52AM +0200, Michal Marek wrote: > > On Tue, Jun 18, 2013 at 10:24:40AM +0200, Jiri Slaby wrote: > > Sam Ravnborg (the kconfig ex-maintainer) once wrote that > > he doesn't want to extend the kconfig language for this > > purpose (which I support). That

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Michal Marek
Dne 18.6.2013 10:34, Felipe Balbi napsal(a): > Hi, > > On Tue, Jun 18, 2013 at 10:24:40AM +0200, Jiri Slaby wrote: > Sam Ravnborg (the kconfig ex-maintainer) once wrote that > he doesn't want to extend the kconfig language for this > purpose (which I support). That a config option is f

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Tomi Valkeinen
On 18/06/13 07:51, Michal Marek wrote: >> Sam Ravnborg (the kconfig ex-maintainer) once wrote that he doesn't want >> to extend the kconfig language for this purpose (which I support). That >> a config option is fine and sufficient in this case [1]. Except he >> called the config option "SHOW_ALL_

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 10:24:40AM +0200, Jiri Slaby wrote: > >>> Sam Ravnborg (the kconfig ex-maintainer) once wrote that he > >>> doesn't want to extend the kconfig language for this purpose > >>> (which I support). That a config option is fine and sufficient > >>> in this case [1]. Except h

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Jiri Slaby
On 06/18/2013 10:18 AM, Felipe Balbi wrote: > Hi, > > On Tue, Jun 18, 2013 at 06:51:32AM +0200, Michal Marek wrote: >> Dne 17.6.2013 22:05, Jiri Slaby napsal(a): >>> On 05/23/2013 05:09 AM, Jeff Mahoney wrote: On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: > On Wed, May 22, 2013 at 11:18:

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Felipe Balbi
Hi, On Tue, Jun 18, 2013 at 06:51:32AM +0200, Michal Marek wrote: > Dne 17.6.2013 22:05, Jiri Slaby napsal(a): > > On 05/23/2013 05:09 AM, Jeff Mahoney wrote: > >> On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: > >>> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: > Some drivers c

Re: [PATCH] build some drivers only when compile-testing

2013-06-17 Thread Michal Marek
Dne 17.6.2013 22:05, Jiri Slaby napsal(a): > On 05/23/2013 05:09 AM, Jeff Mahoney wrote: >> On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: >>> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: Some drivers can be built on more platforms than they run on. This causes users and di

Re: [PATCH] build some drivers only when compile-testing

2013-06-17 Thread Jiri Slaby
On 05/23/2013 05:09 AM, Jeff Mahoney wrote: > On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: >> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: >>> Some drivers can be built on more platforms than they run on. This >>> causes users and distributors packaging burden when they have to >>>

Re: [PATCH] build some drivers only when compile-testing

2013-05-23 Thread Rob Landley
On 05/23/2013 09:01:40 AM, Ben Hutchings wrote: On Wed, 2013-05-22 at 19:23 -0700, Greg Kroah-Hartman wrote: > On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: > > Some drivers can be built on more platforms than they run on. This > > causes users and distributors packaging burden when

Re: [PATCH] build some drivers only when compile-testing

2013-05-23 Thread Ben Hutchings
On Wed, 2013-05-22 at 19:23 -0700, Greg Kroah-Hartman wrote: > On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: > > Some drivers can be built on more platforms than they run on. This > > causes users and distributors packaging burden when they have to > > manually deselect some drivers f

Re: [PATCH] build some drivers only when compile-testing

2013-05-23 Thread Tomi Valkeinen
Hi, On 22/05/13 12:18, Jiri Slaby wrote: > Some drivers can be built on more platforms than they run on. This > causes users and distributors packaging burden when they have to > manually deselect some drivers from their allmodconfigs. Or sometimes > it is even impossible to disable the drivers wi

Re: [PATCH] build some drivers only when compile-testing

2013-05-22 Thread Jeff Mahoney
On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: > On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: >> Some drivers can be built on more platforms than they run on. This >> causes users and distributors packaging burden when they have to >> manually deselect some drivers from their allmodc

Re: [PATCH] build some drivers only when compile-testing

2013-05-22 Thread Greg Kroah-Hartman
On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: > Some drivers can be built on more platforms than they run on. This > causes users and distributors packaging burden when they have to > manually deselect some drivers from their allmodconfigs. Or sometimes > it is even impossible to disa

[PATCH] build some drivers only when compile-testing

2013-05-22 Thread Jiri Slaby
Some drivers can be built on more platforms than they run on. This causes users and distributors packaging burden when they have to manually deselect some drivers from their allmodconfigs. Or sometimes it is even impossible to disable the drivers without patching the kernel. Introduce a new config