Re: why is there still so much __KERNEL__ testing in include/uapi/?

2016-05-27 Thread Robert P. J. Day
On Fri, 27 May 2016, Greg KH wrote: > On Fri, May 27, 2016 at 12:08:09PM -0400, Robert P. J. Day wrote: > > > > continuing down this road of exporting kernel headers, under > > include/uapi/ (and mostly further under linux/), there's still a *ton* > > of testing of the __KERNEL__ preprocessor

Re: why is there still so much __KERNEL__ testing in include/uapi/?

2016-05-27 Thread Greg KH
On Fri, May 27, 2016 at 12:08:09PM -0400, Robert P. J. Day wrote: > > continuing down this road of exporting kernel headers, under > include/uapi/ (and mostly further under linux/), there's still a *ton* > of testing of the __KERNEL__ preprocessor check. > > now, i realize that when one does

Re: exporting kernel headers via the include/uapi directory

2016-05-27 Thread Robert P. J. Day
On Fri, 27 May 2016, Greg KH wrote: > On Fri, May 27, 2016 at 08:07:17AM -0400, Robert P. J. Day wrote: > > > > next question about exporting kernel headers, this one related to > > the content placed under include/uapi/. > > > > is there any rationale for header files to be living under > >

Re: exporting kernel headers via the include/uapi directory

2016-05-27 Thread Greg KH
On Fri, May 27, 2016 at 08:07:17AM -0400, Robert P. J. Day wrote: > > next question about exporting kernel headers, this one related to > the content placed under include/uapi/. > > is there any rationale for header files to be living under > include/uapi/ if they're not listed in the

Re: some simple(?) questions about Kbuild and installing kernel headers

2016-05-27 Thread Greg KH
On Fri, May 27, 2016 at 07:53:00AM -0400, Robert P. J. Day wrote: > > for various reasons, i'm poring over the grotty details of the > installation of kernel headers, so a couple questions before i get any > further into the code. > > first, is there any value to a Kbuild file with no

why is there still so much __KERNEL__ testing in include/uapi/?

2016-05-27 Thread Robert P. J. Day
continuing down this road of exporting kernel headers, under include/uapi/ (and mostly further under linux/), there's still a *ton* of testing of the __KERNEL__ preprocessor check. now, i realize that when one does "make headers_install", all those files are run through "unifdef" to sanitize

Re: exporting kernel headers via the include/uapi directory

2016-05-27 Thread Robert P. J. Day
On Fri, 27 May 2016, Bjørn Mork wrote: > "Robert P. J. Day" writes: > > > while i'm here, some pedantry ... what is the point of adding a > > header file somewhere under include/uapi/ without > > *immediately* adding it to the Kbuild file so that it's exported? > > I

Re: IRC channel for linux-block layer and linux-mmc discussion

2016-05-27 Thread Ritesh Harjani
Hi Greg, Nothing wrong, I was looking if we have such channel(in case I am not aware of) for any quick discussion of some topic/queries. But ya, mailing list could be used as well. Thanks Ritesh On Wed, May 25, 2016 at 7:54 AM, Greg KH wrote: > On Tue, May 24, 2016 at

Re: exporting kernel headers via the include/uapi directory

2016-05-27 Thread Robert P. J. Day
On Fri, 27 May 2016, Robert P. J. Day wrote: > next question about exporting kernel headers, this one related to > the content placed under include/uapi/. > > is there any rationale for header files to be living under > include/uapi/ if they're not listed in the corresponding > Kbuild file

exporting kernel headers via the include/uapi directory

2016-05-27 Thread Robert P. J. Day
next question about exporting kernel headers, this one related to the content placed under include/uapi/. is there any rationale for header files to be living under include/uapi/ if they're not listed in the corresponding Kbuild file for export? for example, in include/uapi/drm, there are

some simple(?) questions about Kbuild and installing kernel headers

2016-05-27 Thread Robert P. J. Day
for various reasons, i'm poring over the grotty details of the installation of kernel headers, so a couple questions before i get any further into the code. first, is there any value to a Kbuild file with no content? for example, here's the entirety of arch/cris/include/arch-v10/arch/Kbuild: