lkml.org 
[lkml]   [2017]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail
On Wed, Nov 01, 2017 at 04:38:02PM -0600, Shuah Khan wrote:
> > For me also, if I have to test my code outside kernel tree, I usually
> > copy ion.h header file locally and test it.
> >
> > But, still I have one question about staging tree kernel headers.
> > How the kernel headers are created in case of Android where it uses
> > the ion and other headers heavily?
> >
>
> So this is a question for Greg KH? How do we handle staging headers?

We don't :)

Don't work too hard, or at all, for staging headers, someone should be
working to get the code out of staging. No need to provide "full
functionality" for all of the different kselftest options for staging
code, as that's just going to be a pain.

> We have couple of options here:
>
> - add a staging header install as part of kselftest

No.

> - add a kselftest source tar-ball utility that covers the staging header
> dependencies.

No.

Just don't install them, as they are not part of the normal process,
don't do anything special here please.

> I am reluctant to add a local ion.h. I would rather solve the bigger issue.
> I think this might not be the only time we will run into this type of dependency

For any other kernel code, stuff should go into uapi headers, but
staging is "special" here, so don't worry about it. Use relative paths
and all should be fine for the limited amount of testing possible.

I really do not like to see any staging dependancies out of
drivers/staging/ at all, as staging code should be self-contained and
could be deleted tomorrow with no other side effects at all. So maybe
there should not be any kselftests allowed for staging code...

thanks,

greg k-h

\
 
 \ /
  Last update: 2017-11-02 09:55    [W:0.865 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site