Message ID | 20231016020847.1270258-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 ib8csp3191684vqb; Sun, 15 Oct 2023 19:09:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdSLUZnf8rKCu1qd+o8KTP/uLn0Ciy6EkMHdOrPBh5y30WdbbRQR9wnIyqTiRKJJmH62N/ X-Received: by 2002:a17:902:d4cd:b0:1bb:9e6e:a9f3 with SMTP id o13-20020a170902d4cd00b001bb9e6ea9f3mr37534448plg.4.1697422166394; Sun, 15 Oct 2023 19:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697422166; cv=none; d=google.com; s=arc-20160816; b=mfHBk2ZRNeugBwXnXRz83g3R2QeUs31AJu9jCI3y0hk8v4yEhUExvwHV3qzgWUGkro JEYjwzFY68A2VRiu1/Om/rjAIURKxbcXgEf195HZsOyKDoMCHxt/zffivoGHCthtkATt AoDb8E8chW3rUcMavrzrS+mGlYmuEqm/uXXGy8FX496Q0RTE84uUsobzGy/Owys2QF4z USiLhJx8xm+fD3w75we1h0gHKaD58ca5H5vb3JIYUCgDTGHieeX3fmFMy80cau5UndQZ 45QbIwqoY15GSY6GDhtB8knRFFLSfmNYq6w0lHKBRyd8ZSjMvTlPvNynUcjKfspxICe7 hsSQ== 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=7fE/Rf0mwpj/LZXZVrojRqMvjFqWVsUDJVYJ3B+0kKY=; fh=ZDcIlyYggP5K3GvQBQF3K/GzUnCJV+bQb/1GDPxM7E4=; b=YhW6zL20m9EArRDw4WAbZN7NUqe7jTYw3lCztnnbjSJioDo60E1g/SzEjmWMow59Pb 8s15DCiR6rGXREswLNCGVkuGBVLMcx495KD2kC9BnwibwzQ6mYXWkMp6kbL5iefjMamF xK8J+xbzarsm0WXEW8IYWv+5EB16q+x7nvDein+MsCaRO+9JlUkokL6qRHOYlqzpJWXJ JfoEAgulPGGeyGEmzJ1InJaQbecR54E5oBJXEB9N5ZICMUgQr63A/KeOKJ2UeEjshuGL A16O7CtiQkufpO00zA2HkBIhKVMVFxg0tXn286AuD9wzbWwmno3sqtW2ZF1p2okTiaIz udeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x6-20020a170902ec8600b001c5616520cfsi10343052plg.204.2023.10.15.19.09.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 19:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 8500480BB5DF; Sun, 15 Oct 2023 19:09:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbjJPCJJ (ORCPT <rfc822;hjfbswb@gmail.com> + 19 others); Sun, 15 Oct 2023 22:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230478AbjJPCJG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 15 Oct 2023 22:09:06 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E216C1; Sun, 15 Oct 2023 19:09:04 -0700 (PDT) Received: from kwepemm000012.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4S80m20RQdzvQ2W; Mon, 16 Oct 2023 10:04:18 +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; Mon, 16 Oct 2023 10:08:59 +0800 From: Wenchao Hao <haowenchao2@huawei.com> To: "James E . J . Bottomley" <jejb@linux.ibm.com>, "Martin K . Petersen" <martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org> CC: <linux-kernel@vger.kernel.org>, <louhongxiang@huawei.com>, Wenchao Hao <haowenchao2@huawei.com> Subject: [PATCH v2 0/2] cleanup patch Date: Mon, 16 Oct 2023 10:08:45 +0800 Message-ID: <20231016020847.1270258-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: dggems703-chm.china.huawei.com (10.3.19.180) 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 morse.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 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 19:09:24 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779876145619376903 X-GMAIL-MSGID: 1779876145619376903 |
Series | cleanup patch | |
Message
Wenchao Hao
Oct. 16, 2023, 2:08 a.m. UTC
This is a cleanup patchset, no logic changed. The first patch just cleanup scsi_dev_queue_ready(); The second patch add comment for target_destroy callback of scsi_host_template to tell it is called in atomic context. 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 | 35 ++++++++++++++++++----------------- include/scsi/scsi_host.h | 3 +++ 2 files changed, 21 insertions(+), 17 deletions(-)
Comments
On Mon, Oct 16, 2023 at 10:09 AM Wenchao Hao <haowenchao2@huawei.com> wrote: > > This is a cleanup patchset, no logic changed. > > The first patch just cleanup scsi_dev_queue_ready(); > The second patch add comment for target_destroy callback of > scsi_host_template to tell it is called in atomic context. > Friendly ping... > 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 | 35 ++++++++++++++++++----------------- > include/scsi/scsi_host.h | 3 +++ > 2 files changed, 21 insertions(+), 17 deletions(-) > > -- > 2.32.0 >