From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] bugfix for block_dev_kernel/ltp_block_dev.c
Date: Mon, 10 May 2021 18:52:41 +0200 [thread overview]
Message-ID: <YJlk2UtqenFH+bYk@pevik> (raw)
In-Reply-To: <20210510095609.20128-1-dongshijiang@inspur.com>
Hi,
> Add genhd.h and blkdev.h to ltp_block_dev.c.
> Failed at compile time on kernel 5.12 due to change of register_blkdev function definition from linux/fs.h to linux/genhd.h and failure of test case tc05,The reason is that the BLKDEV_MAJOR_MAX definition was changed from fs.h to blkdev.h
Good catch, merged with slightly changed commit message.
Thanks!
Maybe we should not ignore build error for kernel module to catch these API
changes earlier.
Kind regards,
Petr
prev parent reply other threads:[~2021-05-10 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-10 9:56 [LTP] [PATCH] bugfix for block_dev_kernel/ltp_block_dev.c dongshijiang
2021-05-10 16:52 ` Petr Vorel [this message]
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=YJlk2UtqenFH+bYk@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/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