public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Yan <yanaijie@huawei.com>
To: Bart Van Assche <bvanassche@acm.org>,
	<martin.petersen@oracle.com>, <jejb@linux.vnet.ibm.com>
Cc: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<hare@suse.com>, <hch@lst.de>,
	<syzbot+d44b35ecfb807e5af0b5@syzkaller.appspotmail.com>
Subject: Re: [PATCH] scsi: fix WARNING in scsi_alloc_sgtables
Date: Wed, 20 Jul 2022 09:47:03 +0800	[thread overview]
Message-ID: <88082ab3-0a2b-9175-eb7d-8472d3ff9430@huawei.com> (raw)
In-Reply-To: <2f0cba61-b98a-9b14-6bb5-700f2b367e3b@acm.org>


On 2022/7/20 2:08, Bart Van Assche wrote:
> On 7/19/22 01:00, Jason Yan wrote:
>> When iovec_count is non-zero and dxfer_len is zero, the sg_io() just
>> genarated a null bio, and finally caused a warning below. To fix it,
>> skip generating a bio for this request if dxfer_len is zero.
> 
> Since this patch is a bug fix, I think it needs a Fixes: tag.
> 

Thanks Bart. I will dig it out and send v2.

> Thanks,
> 
> Bart.
> .

      reply	other threads:[~2022-07-20  1:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19  8:00 [PATCH] scsi: fix WARNING in scsi_alloc_sgtables Jason Yan
2022-07-19  9:17 ` Christoph Hellwig
2022-07-19 18:08 ` Bart Van Assche
2022-07-20  1:47   ` Jason Yan [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=88082ab3-0a2b-9175-eb7d-8472d3ff9430@huawei.com \
    --to=yanaijie@huawei.com \
    --cc=bvanassche@acm.org \
    --cc=hare@suse.com \
    --cc=hch@lst.de \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=syzbot+d44b35ecfb807e5af0b5@syzkaller.appspotmail.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