Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572468

Re: [PATCH v5 6/8] uapi: includes linux/types.h before exporting files

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 6/8] uapi: includes linux/types.h before exporting files
Date 2017-02-02 16:30 +0100
Message-ID <t6ruG-5L1-15@gated-at.bofh.it> (permalink)
References <t6pCy-4Bc-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Nicolas,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nicolas-Dichtel/uapi-export-all-headers-under-uapi-directories/20170202-213944
config: x86_64-randconfig-n0-02022216 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/media-device.c: In function 'media_device_get_info':
>> drivers/media/media-device.c:76:2: error: implicit declaration of function 'KERNEL_VERSION' [-Werror=implicit-function-declaration]
     info->media_version = MEDIA_API_VERSION;
     ^
   drivers/media/media-device.c: In function 'media_device_pci_init':
   drivers/media/media-device.c:841:25: error: 'LINUX_VERSION_CODE' undeclared (first use in this function)
     mdev->driver_version = LINUX_VERSION_CODE;
                            ^
   drivers/media/media-device.c:841:25: note: each undeclared identifier is reported only once for each function it appears in
   drivers/media/media-device.c: In function '__media_device_usb_init':
   drivers/media/media-device.c:870:25: error: 'LINUX_VERSION_CODE' undeclared (first use in this function)
     mdev->driver_version = LINUX_VERSION_CODE;
                            ^
   cc1: some warnings being treated as errors

vim +/KERNEL_VERSION +76 drivers/media/media-device.c

bcd5081b Sakari Ailus          2016-05-03  70  			sizeof(info->driver));
bb07bd6b Mauro Carvalho Chehab 2016-02-11  71  
bcd5081b Sakari Ailus          2016-05-03  72  	strlcpy(info->model, dev->model, sizeof(info->model));
bcd5081b Sakari Ailus          2016-05-03  73  	strlcpy(info->serial, dev->serial, sizeof(info->serial));
bcd5081b Sakari Ailus          2016-05-03  74  	strlcpy(info->bus_info, dev->bus_info, sizeof(info->bus_info));
140d8816 Laurent Pinchart      2010-08-18  75  
bcd5081b Sakari Ailus          2016-05-03 @76  	info->media_version = MEDIA_API_VERSION;
bcd5081b Sakari Ailus          2016-05-03  77  	info->hw_revision = dev->hw_revision;
bcd5081b Sakari Ailus          2016-05-03  78  	info->driver_version = dev->driver_version;
140d8816 Laurent Pinchart      2010-08-18  79  

:::::: The code at line 76 was first introduced by commit
:::::: bcd5081b05367d108c1380369c698a4601c41cfc [media] media: Refactor copying IOCTL arguments from and to user space

:::::: TO: Sakari Ailus <sakari.ailus@linux.intel.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v4 3/7] x86: put msr-index.h in uapi Ingo Molnar <mingo@kernel.org> - 2017-01-31 17:30 +0100
  [PATCH v5 1/8] h8300: put bitsperlong.h in uapi Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
  [PATCH v5 3/8] x86: stop exporting msr-index.h to userland Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    Re: [PATCH v5 3/8] x86: stop exporting msr-index.h to userland Ingo Molnar <mingo@kernel.org> - 2017-02-02 14:40 +0100
  [PATCH v5 0/8] uapi: export all headers under uapi directories Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 8/8] uapi: export all arch specifics directories Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 8/8] uapi: export all arch specifics directories kbuild test robot <lkp@intel.com> - 2017-02-02 15:40 +0100
      Re: [PATCH v5 8/8] uapi: export all arch specifics directories kbuild test robot <lkp@intel.com> - 2017-02-02 15:50 +0100
    [PATCH v5 4/8] Makefile.headersinst: cleanup input files Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 6/8] uapi: includes linux/types.h before exporting files Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 6/8] uapi: includes linux/types.h before exporting  files kbuild test robot <lkp@intel.com> - 2017-02-02 16:30 +0100
    [PATCH v5 2/8] nios2: put setup.h in uapi Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
    [PATCH v5 5/8] Makefile.headersinst: remove destination-y option Nicolas Dichtel <nicolas.dichtel@6wind.com> - 2017-02-02 14:30 +0100
      Re: [PATCH v5 5/8] Makefile.headersinst: remove destination-y option Paul Bolle <pebolle@tiscali.nl> - 2017-02-03 22:50 +0100

csiph-web