From patchwork Thu Aug 19 09:32:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 12446777 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A20BBC4338F for ; Thu, 19 Aug 2021 09:37:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 83FD761100 for ; Thu, 19 Aug 2021 09:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237005AbhHSJhx (ORCPT ); Thu, 19 Aug 2021 05:37:53 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3672 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234341AbhHSJhx (ORCPT ); Thu, 19 Aug 2021 05:37:53 -0400 Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Gr05B31zTz6D9BK; Thu, 19 Aug 2021 17:36:14 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 19 Aug 2021 11:37:15 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 19 Aug 2021 10:37:12 +0100 From: John Garry To: , , CC: , , , , John Garry Subject: [PATCH v2 0/2] scsi: qla1280: Resolve some compilation issues Date: Thu, 19 Aug 2021 17:32:27 +0800 Message-ID: <1629365549-190391-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org As another follow-up to removing scsi_cmnd.tag in [0], remove its usage in the qla1280 driver lurking under a local build switch. Also fix pre-existing compilation issues under the same switch. Based on mkp-scsi 5.15 staging at 848ade90ba9c [0] https://lore.kernel.org/linux-scsi/yq14kbppa42.fsf@ca-mkp.ca.oracle.com/T/#mb47909f38f35837686734369600051b278d124af Changes to v1: - Make SCSI_LUN_32() cast to int John Garry (2): scsi: qla1280: Stop using scsi_cmnd.tag scsi: qla1280: Fix DEBUG_QLA1280 compilation issues drivers/scsi/qla1280.c | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-)