[drm:drm-next 992/1014] ./usr/include/drm/drm.h:63: userspace cannot reference function or variable defined in the kernel

kbuild test robot fengguang.wu at intel.com
Tue May 17 08:45:31 UTC 2016


tree:   git://people.freedesktop.org/~airlied/linux.git drm-next
head:   7c10ddf87472c07eabc206e273dc59f77c700858
commit: ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f [992/1014] drm: add extern C guard for the UAPI headers
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   ./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
>> ./usr/include/drm/drm_fourcc.h:30: userspace cannot reference function or variable defined in the kernel
>> ./usr/include/drm/drm_mode.h:33: userspace cannot reference function or variable defined in the kernel
>> ./usr/include/drm/drm_sarea.h:38: userspace cannot reference function or variable defined in the kernel

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 6275 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160517/d599db21/attachment.obj>


More information about the dri-devel mailing list