[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f0cba61-b98a-9b14-6bb5-700f2b367e3b@acm.org>
Date: Tue, 19 Jul 2022 11:08:52 -0700
From: Bart Van Assche <bvanassche@....org>
To: Jason Yan <yanaijie@...wei.com>, martin.petersen@...cle.com,
jejb@...ux.vnet.ibm.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
hare@...e.com, hch@....de,
syzbot+d44b35ecfb807e5af0b5@...kaller.appspotmail.com
Subject: Re: [PATCH] scsi: fix WARNING in scsi_alloc_sgtables
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.
Powered by blists - more mailing lists