From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: "axboe@kernel.dk" <axboe@kernel.dk>
Cc: "hch@lst.de" <hch@lst.de>,
"roger.pau@citrix.com" <roger.pau@citrix.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH] xen-blkfront: Fix handling of non-supported operations
Date: Mon, 24 Jul 2017 15:10:09 +0000 [thread overview]
Message-ID: <1500909007.2604.3.camel@wdc.com> (raw)
In-Reply-To: <f744ebdd-654c-1d6e-d977-28d2a4ce7be9@kernel.dk>
On Mon, 2017-07-24 at 08:46 -0600, Jens Axboe wrote:
> On 07/21/2017 11:11 AM, Bart Van Assche wrote:
> > This patch fixes the following sparse warnings:
> >=20
> > drivers/block/xen-blkfront.c:916:45: warning: incorrect type in argumen=
t 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 assign=
ment (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 [u=
sertype] <noident>
> > drivers/block/xen-blkfront.c:1607:55: warning: incorrect type in assign=
ment (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 [u=
sertype] <noident>
> > drivers/block/xen-blkfront.c:1625:55: warning: incorrect type in assign=
ment (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 [u=
sertype] <noident>
> > drivers/block/xen-blkfront.c:1628:62: warning: restricted blk_status_t =
degrades to integer
> >=20
> > Compile-tested only.
>=20
> Applied, but I killed your stable tag. Why did you add that?
Hello Jens,
That tag was added based on the output of git describe:
$ git describe 2a842acab109
v4.12-rc2-199-g2a842acab109
However, the following command shows that the above output is misleading an=
d that the
stable tag is indeed not needed:
$ git log v4.12..origin/master | grep '^commit 2a842acab109' =20
commit 2a842acab109f40f0d7d10b38e9ca88390628996
Bart.=
WARNING: multiple messages have this Message-ID (diff)
From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: "axboe@kernel.dk" <axboe@kernel.dk>
Cc: "hch@lst.de" <hch@lst.de>,
"roger.pau@citrix.com" <roger.pau@citrix.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH] xen-blkfront: Fix handling of non-supported operations
Date: Mon, 24 Jul 2017 15:10:09 +0000 [thread overview]
Message-ID: <1500909007.2604.3.camel@wdc.com> (raw)
In-Reply-To: <f744ebdd-654c-1d6e-d977-28d2a4ce7be9@kernel.dk>
On Mon, 2017-07-24 at 08:46 -0600, Jens Axboe wrote:
> 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?
Hello Jens,
That tag was added based on the output of git describe:
$ git describe 2a842acab109
v4.12-rc2-199-g2a842acab109
However, the following command shows that the above output is misleading and that the
stable tag is indeed not needed:
$ git log v4.12..origin/master | grep '^commit 2a842acab109'
commit 2a842acab109f40f0d7d10b38e9ca88390628996
Bart.
next prev parent reply other threads:[~2017-07-24 15:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 17:11 [PATCH] xen-blkfront: Fix handling of non-supported operations Bart Van Assche
2017-07-21 17:11 ` Bart Van Assche
2017-07-24 8:02 ` Christoph Hellwig
2017-07-24 8:02 ` Christoph Hellwig
2017-07-24 14:46 ` Jens Axboe
2017-07-24 14:46 ` Jens Axboe
2017-07-24 15:10 ` Bart Van Assche
2017-07-24 15:10 ` Bart Van Assche [this message]
2017-07-24 15:10 ` Bart Van Assche
2017-07-24 21:20 ` Omar Sandoval
2017-07-24 21:20 ` Omar Sandoval
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500909007.2604.3.camel@wdc.com \
--to=bart.vanassche@wdc.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=konrad.wilk@oracle.com \
--cc=linux-block@vger.kernel.org \
--cc=roger.pau@citrix.com \
--cc=stable@vger.kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.