[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209150012.nsTINDjx-lkp@intel.com>
Date: Thu, 15 Sep 2022 00:36:32 +0800
From: kernel test robot <lkp@...el.com>
To: Luis Chamberlain <mcgrof@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mcgrof:20220913-test-sysfs 8/11] lib/test_sysfs.c:26:10: fatal
error: linux/genhd.h: No such file or directory
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@...el.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
Powered by blists - more mailing lists