From: Bart Van Assche <bvanassche@acm.org>
To: Jason Yan <yanaijie@huawei.com>,
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: Tue, 19 Jul 2022 11:08:52 -0700 [thread overview]
Message-ID: <2f0cba61-b98a-9b14-6bb5-700f2b367e3b@acm.org> (raw)
In-Reply-To: <20220719080026.1595874-1-yanaijie@huawei.com>
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.
next prev parent reply other threads:[~2022-07-19 18:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-19 8:00 Jason Yan
2022-07-19 9:17 ` Christoph Hellwig
2022-07-19 18:08 ` Bart Van Assche [this message]
2022-07-20 1:47 ` Jason Yan
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=2f0cba61-b98a-9b14-6bb5-700f2b367e3b@acm.org \
--to=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 \
--cc=yanaijie@huawei.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
all inboxes | Powered by JetHome®