lkml.org 
[lkml]   [2022]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scsi: fix WARNING in scsi_alloc_sgtables
From
Date

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.
> .

\
 
 \ /
  Last update: 2022-07-20 03:48    [W:0.991 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site