Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6033901rwn; Mon, 12 Sep 2022 19:44:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/HRJUfPLLZ1PKkBIl7NW1EFZzSoDJ5qoD8A8W4nzOfxlccZVppwGwflL/ra2Zp8oqPlxH X-Received: by 2002:a17:903:120a:b0:172:5a63:7442 with SMTP id l10-20020a170903120a00b001725a637442mr29984481plh.55.1663037061896; Mon, 12 Sep 2022 19:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663037061; cv=none; d=google.com; s=arc-20160816; b=wAhuOxmLZwJMwM2nCGMKFYgO0Wn1NEEUkRwwDUHEfq6chgEFVRMSaYQrb8K+oUtYcR Pfq/usIZ8x0opN1HK7dMxvf3bHU8R/H2Deo3V46izHZMLfjc+EdoKJVREgMZKb27pZq1 0R9U7UxMQxB+ROwr3GZdG1WRr5VI2VXGwTBX9j0ZPngzWMXC/i3kWZqPRU36T+gAm/zv 4ZKIo+cdft4MvVJmUjdga0NjEFrZESMYkjk2/BBfh+2xp1iL6CocnkNvhmKIDvMIrQed YgBL+pQNmR/ZlUluRFt5EEwooCb50l+sGa0Ed8OMUo3uFpg873Ojke6TKrQKH1XjhlnH oHow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=mkKS3wzSIcZWtAjx057rKaBjFqAaSwJuj59lCR5CYUg=; b=0wiIPmt4lq99dm2S4vNWJ+/w5pSbBYfOH9nR52Gng4it4DWXQG/NCueou7TOKFX2pV V0AVQatcNClS58PE2SqaRMXswms/5lyyUv2gLJTXBWjd/1ig4tpD3lHAFBTs9F+WZccJ nqe0dOSNnuQearKoMqKm+RIkp88oznwomZ40S4+NgCciF6G6ghNXXgZb9FgUA6j/Kvih q4U+/cJjMqKe62uR0P7E0gkzj3I4EstdRXdLc2S9LYVTR04jH1HwMsoENGweL+WyV3zr H26MOZ5xDcU4K1F9CTC9HmkJb849vpwcaKCsU6J4dBcC8ookN9KBcOvibO7HVOfHLugK V8wg== 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 k11-20020a17090a514b00b00200919a55b1si9730132pjm.180.2022.09.12.19.44.09; Mon, 12 Sep 2022 19:44:21 -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 S229711AbiIMBxy (ORCPT + 99 others); Mon, 12 Sep 2022 21:53:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiIMBxv (ORCPT ); Mon, 12 Sep 2022 21:53:51 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E2314F6BE; Mon, 12 Sep 2022 18:53:49 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MRRKH1G0kzHnsX; Tue, 13 Sep 2022 09:51:47 +0800 (CST) Received: from [10.67.110.176] (10.67.110.176) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 13 Sep 2022 09:53:47 +0800 Subject: Re: [PATCH] security/keys: remove request_key_conswq and keyring_search_instkey() declarations To: Jarkko Sakkinen CC: , , , , , , References: <20220909060452.1121620-1-cuigaosheng1@huawei.com> From: cuigaosheng Message-ID: <169ff0aa-b59f-99d2-942b-01cb2fe47795@huawei.com> Date: Tue, 13 Sep 2022 09:53:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.110.176] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Thanks for taking the time to review this patch, I have made a patch V2 and submitted it. link: https://patchwork.kernel.org/project/linux-security-module/patch/20220913014613.524253-1-cuigaosheng1@huawei.com/ ?? 2022/9/12 19:39, Jarkko Sakkinen ะด??: > "KEYS: Remove orphan declarations from security/keys/internal.h" > > On Fri, Sep 09, 2022 at 02:04:52PM +0800, Gaosheng Cui wrote: >> request_key_conswq has been removed since >> commit 76181c134f87 ("KEYS: Make request_key() and co fundamentally >> asynchronous"). >> >> keyring_search_instkey() has been removed since >> commit b5f545c880a2 ("[PATCH] keys: Permit running process to >> instantiate keys"). >> >> so remove the declare for them from header file. >> >> Signed-off-by: Gaosheng Cui > " > Remove the following orphan declarations from security/keys/internal.h: > > 1. request_key_conswq() > 2. keyring_search_instkey() > " > > Then add two fixes tags after that. > > BR, Jarkko > > .