From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B437C54EE9 for ; Thu, 22 Sep 2022 13:54:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231948AbiIVNyR (ORCPT ); Thu, 22 Sep 2022 09:54:17 -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 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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