[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f628bd28-612c-9be7-e0e5-457113fe65d6@acm.org>
Date: Fri, 22 Jul 2022 14:09:03 -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 v2] scsi: fix WARNING in scsi_alloc_sgtables
On 7/19/22 19:51, 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.
Reviewed-by: Bart Van Assche <bvanassche@....org>
Powered by blists - more mailing lists