Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2578222rdb; Fri, 22 Sep 2023 02:50:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgy4QKGZdrbApJLWBoMB3zKzKIFEk9COriyWzA8+gXAlbf7VhX4k5HRhXOeAZvCUit+RaE X-Received: by 2002:a05:6358:3414:b0:143:1063:d1f4 with SMTP id h20-20020a056358341400b001431063d1f4mr9035546rwd.13.1695376241024; Fri, 22 Sep 2023 02:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695376240; cv=none; d=google.com; s=arc-20160816; b=sdW+9yk2eQuGKdCBAU21hMWayq+G677t/Et/Rb3bNqW/8DLevH+m0Je1tyz2mDXyEF 8SKy+B01bW+DB4W++g7KJZh2e1voWMxjpYFa0nW3I/GDLu2rdl8GlM9mMMwf291rNOMG XmgQ07ud6UJekBWibjwhuvdd4Mq4eCrocmPCeKuEKnc2DDMtNOv5SO73gSMCIw4Lw/6L K2WmVbiOA2cLGSr83xN/g1qx8SyZ4sNxeC7yIg5OGIY4nHpCdjgrtBNo3e7gOsR7s9Um qwqeUDfExi6Br4GGXN97H58WrNAC/ORtGZa1+K1hbBfsPYfIHoc6ZuwStUZalVYhu+A3 ULdg== 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=SV1dKjXJVHVLTGMHWl7MuiyLrjcYFbGIit4PlM+qDZM=; fh=czI/RuS43lIcejQG7heSpqlilKbUywFjC/3GVjzlias=; b=KA31Ee3i2pww3A7MMer0BHn65zfleBgp0i9N8NAvbV2HSaj7R04HxKv9SkMatijp3K pj8SmNdap8Ievvv5BPMLOP9jldVbi4DruLezsZBjx2wBHQDjFiBX3ivvY6rCpphTKJB2 8789J/NytunyE0cUxvDMHf8FnUHIsNpBhdfqb5J532iSCvJS9BlNYmk+oBT2uK4+IpdM LkidjbrYAAGK0IgAnMQ0tS6yFzi5mDNNcY4gQbok+Tf+HHVc4uKsJPaaK/Pl6nTcx2y0 pxtOCabobXGdr/TM+UAw7J7d1INRrAAO/E3j1KZLTOg0ChTJH+G8GcVUDKTFkt/6dgEI NOQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id k17-20020a6568d1000000b005778df5647dsi3474607pgt.401.2023.09.22.02.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 02:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 6DB3783C4DAE; Fri, 22 Sep 2023 02:39:22 -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 S233291AbjIVJjP (ORCPT + 99 others); Fri, 22 Sep 2023 05:39:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233213AbjIVJjN (ORCPT ); Fri, 22 Sep 2023 05:39:13 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22ACA197; Fri, 22 Sep 2023 02:39:07 -0700 (PDT) Received: from kwepemm000012.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RsRtw6W6sztS8N; Fri, 22 Sep 2023 17:34:48 +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; Fri, 22 Sep 2023 17:39:04 +0800 From: Wenchao Hao To: "James E . J . Bottomley" , "Martin K . Petersen" , , CC: , , Wenchao Hao Subject: [PATCH 0/2] cleanup patch Date: Fri, 22 Sep 2023 17:38:40 +0800 Message-ID: <20230922093842.2646157-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: dggems706-chm.china.huawei.com (10.3.19.183) 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: 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]); Fri, 22 Sep 2023 02:39:22 -0700 (PDT) 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. 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