Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp843344rwb; Thu, 22 Sep 2022 07:07:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fHgLl6pZBektrAh9jSGMxj8X6AxyJuaAQelXZ7Nt+DbBaeAkqUA9ncRgXa2hcQKBHb7oN X-Received: by 2002:a05:6402:909:b0:435:a8b:5232 with SMTP id g9-20020a056402090900b004350a8b5232mr3582686edz.240.1663855658729; Thu, 22 Sep 2022 07:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663855658; cv=none; d=google.com; s=arc-20160816; b=WIAd2c4rVfANx2VN6Z0hnuXSNsgRbR48VnFl5do0HVVcu8AO5wCooHlYPRGp5IIWcy K0C5y5gmk54SqGSnGuLDLM2uMSVkyTWj3MVdchJOygVrgsOzVzVGVB72VdYKRpmt2ICq hTXfZeyXtyCjX66E5QtLCBL8T3ejBIe6KLoCJy1F7PaGhOS1qS9aQ9YJA6k4D85ys40F 8A/TO/o65cCyF6fcCV9H2lffdCgWG/twhiGF8Yd8vyQBKMZ/UvaxpM69iXo+wHLhkJqU 10cBAPW1A2Napuyv5kfQXhqaCatUq/RbL6SC4S12ySRScYRgeUfD45neOQWTJE+ZmIPF pNIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=RqJLAzKmVsPsYuGNOVhbz4WewRPcNKyPjah/3LlUSmw=; b=FkUDoIR93w1c6ojucQYsXqFTtsjjGxn00S8zIC4kQvKKdFqgudbYM7BPc9XtKGdQY5 yItBGVNC01HeZLAB9TCbPMw6vQuvuBmh1S8ECDAhd/+GtaR7c6T+ISKi/nen67Bykgxs Ufh31Z82u2cKqiddyUFHxeKJ2ZOjw6/m47hmKrcVC/auz48nmgAGLBjigw9B6WyKS4o/ z+0nhtNt5uoO+/bMEbEOPCfgPBHDaVXpcaB+7eKnoEqigg+i29VpT5LwRtVMIFOUhDtf 8QdlU7F4uIYASEnd0YBq9z0GJkJXagfj35/q1Glv146+gr1hhs7GytzKj5Nrnw7OXTEm g6Ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa14-20020a170907868e00b0073d610ccf33si5809781ejc.296.2022.09.22.07.07.10; Thu, 22 Sep 2022 07:07:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231951AbiIVNyS (ORCPT + 99 others); Thu, 22 Sep 2022 09:54:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbiIVNyN (ORCPT ); Thu, 22 Sep 2022 09:54:13 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F13A1A48; Thu, 22 Sep 2022 06:54:12 -0700 (PDT) Received: from canpemm500004.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MYGr544yjzWgxt; Thu, 22 Sep 2022 21:50:13 +0800 (CST) Received: from [10.174.179.14] (10.174.179.14) by canpemm500004.china.huawei.com (7.192.104.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 22 Sep 2022 21:54:10 +0800 Subject: Re: [PATCH v4 7/7] scsi: libsas: Make sas_{alloc, alloc_slow, free}_task() private To: John Garry , , , , CC: , , , References: <1663840018-50161-1-git-send-email-john.garry@huawei.com> <1663840018-50161-8-git-send-email-john.garry@huawei.com> From: Jason Yan Message-ID: <579f6aa0-4261-16b1-4d44-e3b0aeee78e6@huawei.com> Date: Thu, 22 Sep 2022 21:54:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <1663840018-50161-8-git-send-email-john.garry@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.14] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500004.china.huawei.com (7.192.104.92) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/9/22 17:46, John Garry wrote: > We have no users outside libsas any longer, so make sas_alloc_task(), > sas_alloc_slow_task(), and sas_free_task() private. > > Signed-off-by: John Garry > Tested-by: Damien Le Moal > --- > drivers/scsi/libsas/sas_init.c | 3 --- > drivers/scsi/libsas/sas_internal.h | 4 ++++ > include/scsi/libsas.h | 4 ---- > 3 files changed, 4 insertions(+), 7 deletions(-) Reviewed-by: Jason Yan