lkml.org 
[lkml]   [2016]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/44] bfa: Use fc_bsg_jobdone()
    Date
    Use fc_bsg_jobdone() directly instead of the struct bsg_job::job_done()
    callback.

    Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
    ---
    drivers/scsi/bfa/bfad_bsg.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c
    index 48366d8..25889b9 100644
    --- a/drivers/scsi/bfa/bfad_bsg.c
    +++ b/drivers/scsi/bfa/bfad_bsg.c
    @@ -3180,7 +3180,7 @@ bfad_im_bsg_vendor_request(struct fc_bsg_job *job)
    bsg_reply->reply_payload_rcv_len = job->reply_payload.payload_len;
    bsg_reply->result = rc;

    - job->job_done(job);
    + fc_bsg_jobdone(job);
    return rc;
    error:
    /* free the command buffer */
    @@ -3556,7 +3556,7 @@ out:
    bsg_reply->result = rc;

    if (rc == BFA_STATUS_OK)
    - job->job_done(job);
    + fc_bsg_jobdone(job);

    return rc;
    }
    --
    1.8.5.6
    \
     
     \ /
      Last update: 2016-10-11 13:38    [W:4.146 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site