lkml.org 
[lkml]   [2019]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Linux 5.3-rc1
    Does this fix the problem for you?

    diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
    index 9381171c2fc0..4715671a1537 100644
    --- a/drivers/scsi/scsi_lib.c
    +++ b/drivers/scsi/scsi_lib.c
    @@ -1793,7 +1793,8 @@ void __scsi_init_queue(struct Scsi_Host *shost, struct request_queue *q)
    dma_set_seg_boundary(dev, shost->dma_boundary);

    blk_queue_max_segment_size(q, shost->max_segment_size);
    - blk_queue_virt_boundary(q, shost->virt_boundary_mask);
    + if (shost->virt_boundary_mask)
    + blk_queue_virt_boundary(q, shost->virt_boundary_mask);
    dma_set_max_seg_size(dev, queue_max_segment_size(q));

    /*
    \
     
     \ /
      Last update: 2019-07-23 17:35    [W:4.558 / U:1.308 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site