Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1583748imc; Mon, 11 Mar 2019 17:57:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmldERWJil6R9PNDYTlgED5nWlqycH0Hf7/ubdUaTljsDtbQSYm+Yz/QMd9Ez2DUSZ0pkh X-Received: by 2002:a62:11c6:: with SMTP id 67mr35524102pfr.68.1552352276615; Mon, 11 Mar 2019 17:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552352276; cv=none; d=google.com; s=arc-20160816; b=vIXROmF1NdVril+w50rqp/9vzdqHpE4G2EFKr2hvYuCKsFBUwl4zXzNdfPGmNKKgud JX7vdEWUttvex8JD+Xfhbpr6ybIM/Wd5WCyKUBlWF1iVOh5kGo3FlEgKDKUpvZbMQPxK h9B+D/4U0E2NjbvLZVt3vbNhD+syDJ8+UMYFBiyj50oDiIrhgrtUIVk+1WGOUIUH9bBO G9tPCbXCbBVr4BdfdTXWhbTX3v0UIKhHEkfoWaSN+gDINSnsap5+XU1JKfDZKfJsVI8X wFx1eLb5BrryjErHuwFFjmvkRo8ZJxk0n9hwB+mYGiZ9srEVnT0OjtIhYRzc3cKqaeCr W7MQ== 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 :dkim-signature; bh=C1L8nGF8CywAim1Xy+fKWVkaCdIR02QASTJPE1EHPxs=; b=f0vKPiZoc5fcihwiuJk6fMg0/UG7er7V4YumnHhKcNrw0q3JN7XrNvxuYsvTlz4wMN lU/X3TEhsCeqNwjLs0KNnjR7K6bgN/f/wIPGzl/jgxrdsMYwiwULLzKs2AFMTSVEgY4D XkmJhs3fGJGB9rlSAkMJ+ccy8EZKHnB+uCqep+nCNaKRfDLar7ljzAKBsh/DaNeB4FdR Hi0Ds6byhI5e83Hbrtm4IdEeTXnEB2SeJehPeVb/OKcSwN0THvnFGowhUM67TwS1Y7w4 AufOqohimDiVVfze1hX+1UC+TxJBmvakJ91pDHjRO7L+FiBXu7lkMVe5+qQDDqMFiFI0 5HyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=kF7VAyhi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i68si6782732plb.329.2019.03.11.17.57.40; Mon, 11 Mar 2019 17:57:56 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=kF7VAyhi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726532AbfCLA5O (ORCPT + 99 others); Mon, 11 Mar 2019 20:57:14 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:41814 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfCLA5N (ORCPT ); Mon, 11 Mar 2019 20:57:13 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2C0o947093450; Tue, 12 Mar 2019 00:57:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=C1L8nGF8CywAim1Xy+fKWVkaCdIR02QASTJPE1EHPxs=; b=kF7VAyhifUJc2woIzoFHCV7naSli6nWiIl1ZBEOxEnJWH9sKa9+SUWK84y2MXgGtamvR FcjdIR1V348hb1SNnC1f4OPTzKV+jNpP+ObGw9URdvLgbFP57Pi/iXTwy/MUEF3HGV3S EOWoJKrtAIoi5aGqYvw5v2dV6yrsuybgHD0jlwtcT4ZaMPfQx249D76ZQX9aQM5UyzDN gcB6eAq0qH7fhdPkLfHCrMJG3Ed+ajfy2JoXF8/5IkyJXOa+ak5tpbj1kLHlBxw3ltle 0wHHHTilf28U36/XrP1D7YLoIB6wkMvVXKVUSOTD1Y6Q/TR/38Ab4COOoEX1w8kEkzTT xA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2r44wu1n6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Mar 2019 00:57:08 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2C0v6ax024506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Mar 2019 00:57:07 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x2C0v5O2019832; Tue, 12 Mar 2019 00:57:06 GMT Received: from linux.cn.oracle.com (/10.182.69.106) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 Mar 2019 17:57:05 -0700 From: Dongli Zhang To: linux-scsi@vger.kernel.org, qla2xxx-upstream@qlogic.com, linux-kernel@vger.kernel.org Cc: jejb@linux.ibm.com, martin.petersen@oracle.com, don.brace@microsemi.com, esc.storagedev@microsemi.com, dongli.zhang@oracle.com Subject: [PATCH 0/4] scsi: cleanup hardcoding by replacing 0 by HCTX_TYPE_DEFAULT Date: Tue, 12 Mar 2019 09:00:27 +0800 Message-Id: <1552352431-18821-1-git-send-email-dongli.zhang@oracle.com> X-Mailer: git-send-email 2.7.4 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9192 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=597 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903120004 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As in commit 7d76f8562f4c ("blk-mq: use HCTX_TYPE_DEFAULT but not 0 to index blk_mq_tag_set->map"), this patch set cleanup driver/scsi/* to index blk_mq_tag_set->map[] with HCTX_TYPE_DEFAULT, but not 0. drivers/scsi/qla2xxx/qla_os.c | 2 +- drivers/scsi/scsi_lib.c | 2 +- drivers/scsi/smartpqi/smartpqi_init.c | 2 +- drivers/scsi/virtio_scsi.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) Dongli Zhang