From: kernel test robot <lkp@intel.com>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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
Date: Thu, 15 Sep 2022 00:36:32 +0800 [thread overview]
Message-ID: <202209150012.nsTINDjx-lkp@intel.com> (raw)
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
reply other threads:[~2022-09-14 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202209150012.nsTINDjx-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mcgrof@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox