Messages in this thread | | | Date | Tue, 19 Jul 2022 11:08:52 -0700 | Subject | Re: [PATCH] scsi: fix WARNING in scsi_alloc_sgtables | From | Bart Van Assche <> |
| |
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.
| |