Re: [PATCH] block: Fix the type of 'sts' in bsg_queue_rq()

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

 



On 12/17/19 5:23 PM, Bart Van Assche wrote:
> This patch fixes the following sparse warnings:
> 
> block/bsg-lib.c:269:19: warning: incorrect type in initializer (different base types)
> block/bsg-lib.c:269:19:    expected int sts
> block/bsg-lib.c:269:19:    got restricted blk_status_t [usertype]
> block/bsg-lib.c:286:16: warning: incorrect type in return expression (different base types)
> block/bsg-lib.c:286:16:    expected restricted blk_status_t
> block/bsg-lib.c:286:16:    got int [assigned] sts

Applied, thanks Bart.

-- 
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