tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
usermode_ro
head:   98be6f5802fc3ace7f105aca608a34f56e53dbe6
commit: 98be6f5802fc3ace7f105aca608a34f56e53dbe6 [5/5] add 
CONFIG_READONLY_USERMODEHELPER support for lots of places.
config: i386-randconfig-x003-201650 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 98be6f5802fc3ace7f105aca608a34f56e53dbe6
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/irqdesc.h:5:0,
                    from include/linux/irq.h:435,
                    from arch/x86/include/asm/hardirq.h:5,
                    from include/linux/hardirq.h:8,
                    from arch/x86/kernel/asm-offsets.c:11:
>> include/linux/kobject.h:37:22: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'uevent_helper'
    extern char __ro_umh uevent_helper[];
                         ^~~~~~~~~~~~~
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +37 include/linux/kobject.h

    31  #define UEVENT_HELPER_PATH_LEN          256
    32  #define UEVENT_NUM_ENVP                 32      /* number of env 
pointers */
    33  #define UEVENT_BUFFER_SIZE              2048    /* buffer for the 
variables */
    34  
    35  #ifdef CONFIG_UEVENT_HELPER
    36  /* path to the userspace helper executed on an event */
  > 37  extern char __ro_umh uevent_helper[];
    38  #endif
    39  
    40  /* counter to tag the uevent, read only except for the kobject core */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to