From patchwork Wed Sep 15 09:07:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 512189 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2339097jao; Wed, 15 Sep 2021 02:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4YEDr9u2MT/Q0MPsETi9jmSKwyp5rkyVD2G6a/qGIvSuxpV5FasldMuTXFuIcxsI/sE5g X-Received: by 2002:a5d:8b43:: with SMTP id c3mr15448863iot.30.1631697141506; Wed, 15 Sep 2021 02:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631697141; cv=none; d=google.com; s=arc-20160816; b=dSoU9f7p9EXJBm44tI3GzbhOKpbboJcGcaELUnxx+uJfhxbCuF/zTk/fwJYaBvcJai Nms58C/Z3nj5UZiGKEqmQbQvCvKt4OBPp3As904KvLX2bLC+XxDcnip59BskxaqJTh+/ xSqOYJ1t5cR15cFD2M6/CVIyxblAAyZo/R3G22hllVLDN+M6yILml6cajj8bxPYuo2GZ z8bLI0k6ueDF4QHgNrD27+9LONQTpIiR/idAKekTN8XW5N1E+QLyx535KaV9BXYnMda9 OiAXWYmx9hCeJEA0GgZb/46IvL87LSmhoENItDl77maPE0ugeE6Ye3N6ErhcPItZy0Ax pWXw== 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=YaBiDnFvr/6vilMn9J699GbTSwzJICQKmL29HVAYbRw=; b=cPO90tUXBiL9yfico4qU28wtoQUpRYjgT0QB/lpltFm57JcjfLMzBN9Nij5wstlePK 5zwRKEI4URdIYOoYw38mBsldIT+p8fcLR/3QQtjc+OJ9ggPEzjCvsDHiTbS0bBexEcSt CtMC1+7BpVXt49BoPMWhgcbLMR3JJa9UzqQk60W5yp/VzgAXbimT2ORDC8IqkeI3uXMv b2grwRWdNOfvjJEfUbF7X1GOIRFfQTjkMQvLFwrgrus7nMbN5PL9xH6SUb4JiwSafTAM nQO8II+SwAncqYSqJY2SPS3ULq/3kE3BgBT4sa1ZjDlYrIE8ASAkACYIvtD15L3wWgTS qldQ== 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 b10si12835460ilc.151.2021.09.15.02.12.21 for ; Wed, 15 Sep 2021 02:12:21 -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 S237319AbhIOJNi (ORCPT ); Wed, 15 Sep 2021 05:13:38 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3810 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237170AbhIOJNe (ORCPT ); Wed, 15 Sep 2021 05:13:34 -0400 Received: from fraeml711-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4H8ZDD3L38z6H7hQ; Wed, 15 Sep 2021 17:09:48 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml711-chm.china.huawei.com (10.206.15.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 15 Sep 2021 11:12:12 +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; Wed, 15 Sep 2021 10:12:10 +0100 From: John Garry To: , , , CC: , , , John Garry Subject: [PATCH v2 0/3] scsi: remove last references to scsi_cmnd.tag Date: Wed, 15 Sep 2021 17:07:12 +0800 Message-ID: <1631696835-136198-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 This is v2 of Hannes' series to fix the build errors from removing scsi_cmnd.tag. Here is the original cover letter: "with commit 4c7b6ea336c1 ("scsi: core: Remove scsi_cmnd.tag") drivers cannot reference the SCSI command tag anymore. Arguably these drivers would have stopped working since 2010 with the switch to block layer tags in SCSI anyway, so chances are no-one had been using tagging in these drivers. This patchset fixes up these usage; for fas216 we're just switching to use the appropriate wrapper. For acornscsi the tagged queue handling is removed altogether as it was broken in the first place, and no-one since the switch to git could be bothered to fix it. And the patchset has the nice side-effect that we can remove the scsi_device.current_tag field." AFAIK, only the arm rpc_defconfig build was broken. I dropped the scsi_cmd_to_tag() patch as it was not strictly necessary here and there was some doubt on its need. The "scsi: remove 'current_tag'" patch is not needed as a fix. Baseline is v5.15-rc1 Hannes Reinecke (3): fas216: kill scmd->tag acornscsi: remove tagged queuing vestiges scsi: remove 'current_tag' drivers/scsi/arm/Kconfig | 11 ---- drivers/scsi/arm/acornscsi.c | 103 ++++++++--------------------------- drivers/scsi/arm/fas216.c | 31 +++-------- drivers/scsi/arm/queue.c | 2 +- include/scsi/scsi_device.h | 1 - 5 files changed, 31 insertions(+), 117 deletions(-) -- 2.26.2