Re: [PATCH] n64cart: convert bi_disk to bi_bdev->bd_disk fix build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/21/22 00:12, Jackie Liu wrote:
> From: Jackie Liu <liuyun01@xxxxxxxxxx>
> 
> My kernel robot report below:
> 
>    drivers/block/n64cart.c: In function ‘n64cart_submit_bio’:
>    drivers/block/n64cart.c:91:26: error: ‘struct bio’ has no member named ‘bi_disk’
>       91 |  struct device *dev = bio->bi_disk->private_data;
>          |                          ^~
>      CC      drivers/slimbus/qcom-ctrl.o
>      CC      drivers/auxdisplay/hd44780.o
>      CC      drivers/watchdog/watchdog_core.o
>      CC      drivers/nvme/host/fault_inject.o
>      AR      drivers/accessibility/braille/built-in.a
>    make[2]: *** [scripts/Makefile.build:288: drivers/block/n64cart.o] Error 1
> 
> Fixes: 309dca309fc3 ("block: store a block_device pointer in struct bio");
> Reported-by: k2ci <kernel-bot@xxxxxxxxxx>
> Signed-off-by: Jackie Liu <liuyun01@xxxxxxxxxx>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux