linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mcgrof:20220913-test-sysfs 8/11] lib/test_sysfs.c:26:10: fatal error: linux/genhd.h: No such file or directory
@ 2022-09-14 16:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-14 16:36 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git 20220913-test-sysfs
head:   fd13723170f4a2381aab0b6449920c121f01a10a
commit: 1fd6d0dd327560b281f4b77ff3a400be3ec9efde [8/11] selftests: add tests_sysfs module
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220915/202209150012.nsTINDjx-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/commit/?id=1fd6d0dd327560b281f4b77ff3a400be3ec9efde
        git remote add mcgrof https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git
        git fetch --no-tags mcgrof 20220913-test-sysfs
        git checkout 1fd6d0dd327560b281f4b77ff3a400be3ec9efde
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> lib/test_sysfs.c:26:10: fatal error: linux/genhd.h: No such file or directory
      26 | #include <linux/genhd.h>
         |          ^~~~~~~~~~~~~~~
   compilation terminated.


vim +26 lib/test_sysfs.c

    12	
    13	#include <linux/init.h>
    14	#include <linux/list.h>
    15	#include <linux/module.h>
    16	#include <linux/printk.h>
    17	#include <linux/fs.h>
    18	#include <linux/miscdevice.h>
    19	#include <linux/slab.h>
    20	#include <linux/uaccess.h>
    21	#include <linux/async.h>
    22	#include <linux/delay.h>
    23	#include <linux/vmalloc.h>
    24	#include <linux/debugfs.h>
    25	#include <linux/rtnetlink.h>
  > 26	#include <linux/genhd.h>
    27	#include <linux/blkdev.h>
    28	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-14 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 16:36 [mcgrof:20220913-test-sysfs 8/11] lib/test_sysfs.c:26:10: fatal error: linux/genhd.h: No such file or directory kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).