Re: [git pull] drm for v4.7
From: Linus Torvalds
Date: Mon May 23 2016 - 15:10:30 EST
On Mon, May 23, 2016 at 11:59 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I'll test this out and look what happens, but I hate getting different
> results than what I'm told to expect.
Hmm. I also get a lot of
./usr/include/drm/amdgpu_drm.h:38: userspace cannot reference
function or variable defined in the kernel
./usr/include/drm/drm.h:63: userspace cannot reference function or
variable defined in the kernel
./usr/include/drm/drm.h:699: userspace cannot reference function or
variable defined in the kernel
...
warnings with my allmodconfig build. They do seem to be due to
checkpatch not really grokking the
#if defined(__cplusplus)
extern "C" {
#endif
and thinking that's a sign of a kernel function or variable
declaration being exported to user space, but it's a bit annoying.
Is there a patch pending for this that I'm not aware of, or is it just
that nobody but me hates spurious warnings? Didn't this show up in
linux-next? And if it _did_ show up in linux-next, why was the pull
request not talking about it?
Linus