diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-04-11 15:43:30 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 19:32:06 -0600 |
commit | eb87e4e90bca55ab581dcb0bf1be278cd1c27c96 (patch) | |
tree | 38c118da2183799a79e7ccf8e3d11ae868c9d9da /drivers/block/null_blk/null_blk.h | |
parent | 33ec5dfe8f42aaf0163a16e2b450ab06f3a7f1f3 (diff) | |
download | linux-stable-eb87e4e90bca55ab581dcb0bf1be278cd1c27c96.tar.gz linux-stable-eb87e4e90bca55ab581dcb0bf1be278cd1c27c96.tar.bz2 linux-stable-eb87e4e90bca55ab581dcb0bf1be278cd1c27c96.zip |
gdrom: fix compilation error
Use the right name for the struct request variable that removes the
following compilation error :-
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=sh
CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc'
'HOSTCC=sccache gcc'
In file included from /builds/linux/include/linux/scatterlist.h:9,
from /builds/linux/include/linux/dma-mapping.h:10,
from /builds/linux/drivers/cdrom/gdrom.c:16:
/builds/linux/drivers/cdrom/gdrom.c: In function 'gdrom_readdisk_dma':
/builds/linux/drivers/cdrom/gdrom.c:586:61: error: 'rq' undeclared
(first use in this function)
586 | __raw_writel(page_to_phys(bio_page(req->bio)) + bio_offset(rq->bio),
| ^~
Fixes: 1d2c82001a5f ("gdrom: support highmem")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk/null_blk.h')
0 files changed, 0 insertions, 0 deletions