Re: [PATCH] null_blk: Fix two sparse warnings

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

 



On Fri, 10 May 2024 13:18:16 -0700, Bart Van Assche wrote:
> Fix the following sparse warnings:
> 
> drivers/block/null_blk/main.c:1243:35: warning: incorrect type in return expression (different base types)
> drivers/block/null_blk/main.c:1243:35:    expected int
> drivers/block/null_blk/main.c:1243:35:    got restricted blk_status_t
> drivers/block/null_blk/main.c:1291:30: warning: incorrect type in return expression (different base types)
> drivers/block/null_blk/main.c:1291:30:    expected restricted blk_status_t
> drivers/block/null_blk/main.c:1291:30:    got int
> 
> [...]

Applied, thanks!

[1/1] null_blk: Fix two sparse warnings
      commit: e655d93e55b9ef7508b59d2d42a58549a37fd4aa

Best regards,
-- 
Jens Axboe







[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