All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH] bsg: Add sparse annotations to bsg_request_fn()
Date: Mon, 14 Nov 2016 09:56:31 -0700	[thread overview]
Message-ID: <7440c159-3f7f-816a-1996-d5e170a87fb3@fb.com> (raw)
In-Reply-To: <b8f96aed-5cd5-26f0-5c14-4f1ace05dd51@sandisk.com>

On 11/14/2016 09:55 AM, Bart Van Assche wrote:
> On 09/25/2016 07:54 PM, Bart Van Assche wrote:
>> Avoid that sparse complains about unbalanced lock actions.
>>
>> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
>> ---
>>  block/bsg-lib.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/block/bsg-lib.c b/block/bsg-lib.c
>> index 650f427..b2a61e3 100644
>> --- a/block/bsg-lib.c
>> +++ b/block/bsg-lib.c
>> @@ -161,6 +161,8 @@ failjob_rls_job:
>>   * Drivers/subsys should pass this to the queue init function.
>>   */
>>  void bsg_request_fn(struct request_queue *q)
>> +    __releases(q->queue_lock)
>> +    __acquires(q->queue_lock)
>>  {
>>      struct device *dev = q->queuedata;
>>      struct request *req;
>>
>
> Hi Jens,
>
> Do you agree with this patch? If so, can you queue it for kernel v4.10?

Yep, I'll add it for 4.10, thanks Bart.

-- 
Jens Axboe

      reply	other threads:[~2016-11-14 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26  2:54 [PATCH] bsg: Add sparse annotations to bsg_request_fn() Bart Van Assche
2016-11-14 16:55 ` Bart Van Assche
2016-11-14 16:56   ` 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=7440c159-3f7f-816a-1996-d5e170a87fb3@fb.com \
    --to=axboe@fb.com \
    --cc=bart.vanassche@sandisk.com \
    --cc=linux-block@vger.kernel.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.