From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f176.google.com ([209.85.223.176]:38194 "EHLO mail-io0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932355AbdGXOqL (ORCPT ); Mon, 24 Jul 2017 10:46:11 -0400 Received: by mail-io0-f176.google.com with SMTP id g13so43852732ioj.5 for ; Mon, 24 Jul 2017 07:46:11 -0700 (PDT) Subject: Re: [PATCH] xen-blkfront: Fix handling of non-supported operations To: Bart Van Assche Cc: linux-block@vger.kernel.org, Christoph Hellwig , Konrad Rzeszutek Wilk , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , xen-devel@lists.xenproject.org, stable@vger.kernel.org References: <20170721171110.824-1-bart.vanassche@wdc.com> From: Jens Axboe Message-ID: Date: Mon, 24 Jul 2017 08:46:08 -0600 MIME-Version: 1.0 In-Reply-To: <20170721171110.824-1-bart.vanassche@wdc.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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] > 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] > 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] > 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