Message ID | 20231018113746.1940197-1-haowenchao2@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4724819vqb; Wed, 18 Oct 2023 04:38:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgqdjesRcsws7YHU9JPVceQgS5bA7DT1E+JFPW2oE7VcTLl4X8hjYzZO0DezYmODUE7+OE X-Received: by 2002:a17:903:23cd:b0:1c6:9312:187 with SMTP id o13-20020a17090323cd00b001c693120187mr4937446plh.3.1697629126917; Wed, 18 Oct 2023 04:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697629126; cv=none; d=google.com; s=arc-20160816; b=DGVG4Wyhuoi6yfu3bZR3kwME27RJ/6CtowoY4tHx00bjQpfMwDEsqxHwmqETvaUuKK cxh5Mji3EZ/VOWMh4WRmLwk02okdCaC/qELCuoMCBIiCp9x9sZqyP3DdyAlRX+wWT9W2 n+hadnsPsKABc3JIVGEK0WsqwDVvO/6m9/peALGiRWNoZtkWMzRUGI4KMiuHqoNrKzZ0 nNBTWVcDI8aenFTgSuxj+uyMyAESnnakWLXqfsSnvxReCrlfj8l2pRjInmLnH7t7W9S0 1hIjB0cpJp0aa6jdyqfgBxjFnNVP1acUlLVlULpqFgSHsW1ZIVIjZqiLWcv0f0BZoILE nJ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=MySOh2/qzSBipYr751t9Ttw+RzjAHvDwixTihKhcyO8=; fh=eCnJ8dvt+KkuS6aWX+B9QrxoJYHNRCqsmb8Kf0CFQHo=; b=MnRFpOhZV6QowTqHZaKWqUpwsC4OskDERnVL+y/qWr8lhC2lB0ulFxOmTX2P3/5Xb5 PTNU3Q822WxpKMjVILVSHawk5Oru9ItSWvtGr3o8DqHgUSd8wyxtk9+xvbZiOt/UsJ3V wpWo1wpfb0zKNKysG48IRmqzW/9U8gAHpqTu1KP2ZWa2TNSqwE/0gmEuv1p1Om3oZ3tM m5M295ATQuhw/9dLRbkVQMtyeY7N688ndpXqFAtPnvyNaFStEisBw185pT3o6QWiteVF cumGMBSqAP7AMxX+9b7rg2ar2PIFgIaC7F6HyF51CaUYCvqKVFzVTcTYoe/slKC5Nn/N p/NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f7-20020a17090274c700b001c77916e87dsi3692213plt.591.2023.10.18.04.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 04:38:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A5B46817ABC6; Wed, 18 Oct 2023 04:38:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235105AbjJRLia (ORCPT <rfc822;lkml4gm@gmail.com> + 24 others); Wed, 18 Oct 2023 07:38:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231150AbjJRLiR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Oct 2023 07:38:17 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66BFB10C4; Wed, 18 Oct 2023 04:38:05 -0700 (PDT) Received: from kwepemm000012.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4S9TJM2C6gzLp58; Wed, 18 Oct 2023 19:33:55 +0800 (CST) Received: from build.huawei.com (10.175.101.6) by kwepemm000012.china.huawei.com (7.193.23.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 18 Oct 2023 19:38:00 +0800 From: Wenchao Hao <haowenchao2@huawei.com> To: "Martin K . Petersen" <martin.petersen@oracle.com>, Bart Van Assche <bvanassche@acm.org> CC: "James E . J . Bottomley" <jejb@linux.ibm.com>, <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <louhongxiang@huawei.com>, Wenchao Hao <haowenchao2@huawei.com> Subject: [PATCH v3 0/2] cleanup patch Date: Wed, 18 Oct 2023 19:37:44 +0800 Message-ID: <20231018113746.1940197-1-haowenchao2@huawei.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm000012.china.huawei.com (7.193.23.142) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 18 Oct 2023 04:38:44 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780093159204503982 X-GMAIL-MSGID: 1780093159204503982 |
Series | cleanup patch | |
Message
Wenchao Hao
Oct. 18, 2023, 11:37 a.m. UTC
This is a cleanup patchset, no logic changed. The first patch cleanup scsi_dev_queue_ready(); The second patch add comment to tell callback target_destroy of scsi_host_template must not sleep. V3: - Update comments suggested by Bart V2: - Tell which spinlock is held in comment of target_destroy Wenchao Hao (2): scsi: core: cleanup scsi_dev_queue_ready() scsi: Add comment of target_destroy in scsi_host_template drivers/scsi/scsi_lib.c | 32 +++++++++++++++----------------- include/scsi/scsi_host.h | 3 +++ 2 files changed, 18 insertions(+), 17 deletions(-)
Comments
Wenchao, > This is a cleanup patchset, no logic changed. > > The first patch cleanup scsi_dev_queue_ready(); > The second patch add comment to tell callback target_destroy of > scsi_host_template must not sleep. Applied to 6.7/scsi-staging, thanks!
On Wed, 18 Oct 2023 19:37:44 +0800, Wenchao Hao wrote: > This is a cleanup patchset, no logic changed. > > The first patch cleanup scsi_dev_queue_ready(); > The second patch add comment to tell callback target_destroy of > scsi_host_template must not sleep. > > V3: > - Update comments suggested by Bart > > [...] Applied to 6.7/scsi-queue, thanks! [1/2] scsi: core: cleanup scsi_dev_queue_ready() https://git.kernel.org/mkp/scsi/c/3dc985bfbd00 [2/2] scsi: Add comment of target_destroy in scsi_host_template https://git.kernel.org/mkp/scsi/c/82f52b2cd5fc