Linux block layer
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Bart Van Assche <bvanassche@acm.org>
Cc: linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
	Martin Wilck <mwilck@suse.com>
Subject: Re: [PATCH] block: Fix the type of 'sts' in bsg_queue_rq()
Date: Tue, 17 Dec 2019 18:10:31 -0700	[thread overview]
Message-ID: <7249e66a-decb-10a2-9b1c-12136a302240@kernel.dk> (raw)
In-Reply-To: <20191218002329.48593-1-bvanassche@acm.org>

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


      reply	other threads:[~2019-12-18  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18  0:23 [PATCH] block: Fix the type of 'sts' in bsg_queue_rq() Bart Van Assche
2019-12-18  1:10 ` Jens Axboe [this message]

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=7249e66a-decb-10a2-9b1c-12136a302240@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bvanassche@acm.org \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=mwilck@suse.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox