Received: by 10.213.65.68 with SMTP id h4csp348170imn; Fri, 6 Apr 2018 00:55:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx49rkosoWe64SaOfoj4cLHjR0LD4KZaU6QC/1/+0Sn8ZMyAdwkvLI+KtyMSWCmRCa9MS30om X-Received: by 10.99.113.70 with SMTP id b6mr683091pgn.126.1523001358652; Fri, 06 Apr 2018 00:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523001358; cv=none; d=google.com; s=arc-20160816; b=vJG15diKt9O0erCAqODKev5pDRLbkEQjX86Anb/ID2feRoCJoLpXDNde5C4BiT6I77 YlA9kzk/m7e8sotebIjtlPNR43QEcrUrm/j3fiGFv9aplk+LjQJ0hh3KBRtyTxIFVj84 Pc2NW8It7vFwe6NTPv/KTUyCSVS8kvDmUgo9OLe75eRPaWi5dP4nodMPM17avbcKmhRT vjvyVUDElCRv6nGcAElRKWvfXX6TQdybgttH56jhb2QRWTQyTVxQfEthqMrczzbD8GqA r+Ru9k764g/3k4Y9zva25R1z3DEO98fxRIQZ1pJexUV194rHvlZ1W9uUCNPGMtL93nKl 5IEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4Ef0RBCzMucVAa0vu1BdWIvSa5BPEFvME4eaOM+VLQM=; b=SfN2d9PQHfKRz70txQu3tAbuTyDBfp83c5nCuj5VB0e7rZosk894FCwf5gn8WgnHKB pMxU/ALHCjCuNwnwZoQgIUg9z7dC3L8FwfdfNNOC9Dc7Y2iGv7UxCtfn+C98meTyqBhJ c+UuWdrzKxa75Yc1wwBUcqS4lghApFPVypMozHyhSsE8x029Tus7ficnElW7zXidZ//z i1+zr+dKG8iLOyAsONz6VVsKMNd+fgf8IlGU7WnNdVs9UIJ0X4TEEA2lIEzAMQN1wY5l v4Dp8vtwx0KKEeOTcocZoPjtJZ1BHFWGQKvARLCSiiLYC+WA8zILBd3aA6LTMuz2GuE7 tBqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8-v6si7665588pls.605.2018.04.06.00.55.44; Fri, 06 Apr 2018 00:55:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752049AbeDFHyh (ORCPT + 99 others); Fri, 6 Apr 2018 03:54:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:41888 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbeDFHyg (ORCPT ); Fri, 6 Apr 2018 03:54:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2772FACBC; Fri, 6 Apr 2018 07:54:35 +0000 (UTC) From: Johannes Thumshirn To: "Martin K . Petersen" Cc: Linux Kernel Mailinglist , Linux SCSI Mailinglist , Himanshu Madhani , Johannes Thumshirn Subject: [PATCH] qla2xxx: correctly shift host byte Date: Fri, 6 Apr 2018 09:52:22 +0200 Message-Id: <20180406075222.7358-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The host byte has to be shifted by 16 not 6. Signed-off-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_isr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 89f93ebd819d..49d67e1d571f 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -2368,7 +2368,7 @@ qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt, bsg_job->reply_len = sizeof(struct fc_bsg_reply); /* Always return DID_OK, bsg will send the vendor specific response * in this case only */ - sp->done(sp, DID_OK << 6); + sp->done(sp, DID_OK << 16); } -- 2.16.2