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: 499728 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp347308jab; Thu, 19 Aug 2021 02:37:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgtL0exG+p3QMYcEPTA9kHwohJe34kZ+CUdlGaER+a1NW+czP5cer2x3S9k1hNaWNrXeBt X-Received: by 2002:a05:6602:26d2:: with SMTP id g18mr10597352ioo.194.1629365838444; Thu, 19 Aug 2021 02:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629365838; cv=none; d=google.com; s=arc-20160816; b=lJKvWYSgYUc2gFsdi7O9ykMEOeQs/vSHY7dfbc3NNmq1iZQgxqvNQ/lTg0UBeKF0JD lkFQZKSJXrJrESMUtVElcP09N685Z9cptJS+KRVeZTCkib3VEV/lMLpTbQSQQguDczXb B37AyyfdlejkbPIIhHRDLUFhbummqYD7e6MVB9er2+szX2E8yiQ4HiFF4t3ZntOXm+Xy RT53YamitYhJNV5wKZyhTXccTwUBKu2mrSy3WJx7Eq2Wglhkid0kbD4P3LD2YGwYy3zR n/T0C0WXAOwFFLoxEU1JRKpn16yGG11G3imRTef8Ak1QMfNrauJuyRpCpVeTo3LisIVo cPWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Mwu7g27GZsI8kFDPc8d01siYOWwfzjit5PqgSSZmtAY=; b=DqWpa3sPYFsZW/sh4eHpUYJtL/Sx/f7/ERyfSiLtieQXr6Pu84QqedRh32hRjDrNGb 7Giac9LwWeNjKSISKN3GuOnZuWVtndymdoqp0zDo3COhK47NqE2U09GLBf+2nHJZzTNv qOvXOsID0mBJHMeNfYwJ2YjBnKA5uyv6uYO8vreIKWvNWw06VQYrjs8/A1hpRmU4KNNt LkGLnYBe/l7VCEEXH6ELD6mysyLtPsrF/uM3JiT3PVsKqqBzCuk9/Qrx6FmhnICpEDso TwH6ktrd+anLBbAyMlbOVJ2Wty93rx05LrnilPHIFV95Q74Y9rQkq/VBjNKp0DJywgjR scAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si3420547iow.57.2021.08.19.02.37.18 for ; Thu, 19 Aug 2021 02:37:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com 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(-) -- 2.17.1