lkml.org 
[lkml]   [2018]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call


    On 29/03/18 10:24 AM, James Smart wrote:
    > Signed-off-by: James Smart  <james.smart@broadcom.com>

    Thanks James.

    > As for "not used anywhere", be careful as the structure being prepped is
    > passed from the nvme-fc transport to an underlying lldd. So the
    > references would likely be in the lldd.

    Can you elaborate? The 'data_sg_cnt' member was in 'struct
    nvmet_fc_fcp_iod' which is declared in fc.c so it doesn't seem sane for
    lower driver to access it... In fact the next patch in the series
    removes it completely.

    Logan

    \
     
     \ /
      Last update: 2018-03-29 18:31    [W:2.292 / U:0.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site