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

Re: [Xen-devel] [PATCH] xen-blkfront: Fix handling of non-supported operations



On 07/21/2017 11:11 AM, Bart Van Assche wrote:
> This patch fixes the following sparse warnings:
> 
> drivers/block/xen-blkfront.c:916:45: warning: incorrect type in argument 2 
> (different base types)
> drivers/block/xen-blkfront.c:916:45:    expected restricted blk_status_t 
> [usertype] error
> drivers/block/xen-blkfront.c:916:45:    got int [signed] error
> drivers/block/xen-blkfront.c:1599:47: warning: incorrect type in assignment 
> (different base types)
> drivers/block/xen-blkfront.c:1599:47:    expected int [signed] error
> drivers/block/xen-blkfront.c:1599:47:    got restricted blk_status_t 
> [usertype] <noident>
> drivers/block/xen-blkfront.c:1607:55: warning: incorrect type in assignment 
> (different base types)
> drivers/block/xen-blkfront.c:1607:55:    expected int [signed] error
> drivers/block/xen-blkfront.c:1607:55:    got restricted blk_status_t 
> [usertype] <noident>
> drivers/block/xen-blkfront.c:1625:55: warning: incorrect type in assignment 
> (different base types)
> drivers/block/xen-blkfront.c:1625:55:    expected int [signed] error
> drivers/block/xen-blkfront.c:1625:55:    got restricted blk_status_t 
> [usertype] <noident>
> drivers/block/xen-blkfront.c:1628:62: warning: restricted blk_status_t 
> degrades to integer
> 
> Compile-tested only.

Applied, but I killed your stable tag. Why did you add that?

-- 
Jens Axboe


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.