configure: make_req_type: Fix argument list
The commit c62b37d96b6eb3ec5 in the Linux Kernel not only moved
`make_request_fn` to `struct block_device_operations` and renamed it to
`submit_bio` but in also removed the request_queue from the argument list.
8fbbf31734
missed the last change
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
parent
c7857f161a
commit
e6d8af673f
@ -42,17 +42,17 @@ check() {
|
||||
# specific scenario
|
||||
# Mind the negation in the condition
|
||||
if ! compile_module $cur_name \
|
||||
"struct request_queue *q; int y = (int)q->make_request_fn(NULL);" "linux/blkdev.h";
|
||||
"struct request_queue *q; int y = (int)q->make_request_fn(NULL, NULL);" "linux/blkdev.h";
|
||||
then
|
||||
# make_request_fn is of type void
|
||||
echo $cur_name "3" >> $config_file_path
|
||||
elif compile_module $cur_name \
|
||||
"struct request_queue *q; blk_qc_t y = q->make_request_fn(NULL);" "linux/blkdev.h";
|
||||
"struct request_queue *q; blk_qc_t y = q->make_request_fn(NULL, NULL);" "linux/blkdev.h";
|
||||
then
|
||||
# make_request_fn is of type blk_qc_t
|
||||
echo $cur_name "4" >> $config_file_path
|
||||
elif compile_module $cur_name \
|
||||
"struct request_queue *q; int y = q->make_request_fn(NULL);" "linux/blkdev.h";
|
||||
"struct request_queue *q; int y = q->make_request_fn(NULL, NULL);" "linux/blkdev.h";
|
||||
then
|
||||
# make_request_fn is of type int
|
||||
echo $cur_name "5" >> $config_file_path
|
||||
|
Loading…
Reference in New Issue
Block a user