Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3457707rdb; Wed, 13 Sep 2023 12:36:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFDrlEjOGINL0weDM+3iWH99ERMIBRkWPI8pXn+kNrpYKiw3EIxOzQgJ7wynkTXZqzdgGD6 X-Received: by 2002:a05:6358:9206:b0:13f:2833:bf41 with SMTP id d6-20020a056358920600b0013f2833bf41mr4089418rwb.23.1694633815635; Wed, 13 Sep 2023 12:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694633815; cv=none; d=google.com; s=arc-20160816; b=X3y3cSf63KdJK/0ZIQDFjnR1uYow5Yc2CT/Tmt74VmWLEYY3C6RiP89DvYmdqDdUcq HOvKSVDoHjiRG2hlbGvcUM+Khgd/c6byeYeRLGCy870aJJRKw/NUQmW/cbzYu0gVewCD 0MzobvFs5r4NfZI8kM9w2ZCgqPKcWeUyG0e+LEwh8QPzY1wMKPiQ0tcDHLijI9dzxS3e 1AAkTry/NL23oA8UtnTUvRI27LoNdcKS+Cmycgawd4xSocb/YiknXsC7eyd4WlfXvfMi pZKAsHXz8mnww4Lo6IZ9bUGDE/bdOCWK/ee+3OtIt5YSS11L61yXI/6vGg0adVyDDgSN JOng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=CmL0GAb6Q352xd+3FuLVkq7fOlbCXzdmsRJV+BWFUSA=; fh=bn9huVDJErJdrDp8rqLpH/3xOKPczaNnVT9vTqWR8/s=; b=QSGd9f/amNHG+oEhKI/It1xvA2WsUIP6NNab2z+v0dhSTiPFDebYRWmDk6mjlN/vVz 1rKL81erfn1SLZu9ulruhj0aewaaw3NKft3v/mdIiSVDtrmbQyXF9TuUgRmtSiNg4Vgq wNCli7eB0emBqEV0d3uHZ2lzp91vMlKuL0BNhYS8nVNt2R68zYM3Sh7+HVUY/hO3dZ41 OKCY0MWCF0crVxpmtNLb2pvj8vTbOqpLp23diut/MxabLy6ctMFXr2LP2ITLkucY5D98 /YVEUj9gziQJfL9OA9CQuyO79C3ub3mP1KGo3Km/keLFdLipS4UigkWGQF2dVMibbc80 PO7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XhvgIIM3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b00573e7fd674esi10668263pgb.661.2023.09.13.12.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 12:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XhvgIIM3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 268CB8040C48; Wed, 13 Sep 2023 12:31:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231311AbjIMTbU (ORCPT + 99 others); Wed, 13 Sep 2023 15:31:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231172AbjIMTbT (ORCPT ); Wed, 13 Sep 2023 15:31:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CE671998; Wed, 13 Sep 2023 12:31:15 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A853AC433C7; Wed, 13 Sep 2023 19:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694633475; bh=C5MM0pQBeJTV7oKReAH8MdIvNB44HPHwyKyQ454VPuw=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=XhvgIIM3My7ZToxpu2qpNFYsq/knw6btBfJOWmShiLr0GeXvJBCc2Ua5wgCwnE4v7 Ba+JxSN7CiQxFb4FRBp/BftSNy9fpCmvii1YHnFFlvr1o/V1OGCWaYdX4XBGZkiSr4 T7/uAcXdjqNsJVyBLWMKGa+ebxAcPsMMuXUajy129VAZgyhOD3RfbMvElx4OB8V8La Nh8Qa+x9ZWqXlj7ofYldnmTzrbei+Mm3YFXhqq+TE/Fr2P4cv66KtVA0lkAzlijvFw e9hytBimSMcVesk1l2sibvY9WE8CdzhqBfHxKstWxPa0xQOjUmyhQMNfl9ovTEnVQt v909QacM7+32Q== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 13 Sep 2023 22:31:11 +0300 Message-Id: Cc: "Yue Haibing" , , , , , Subject: Re: [PATCH v3 -next] keys: Remove unused extern declarations From: "Jarkko Sakkinen" To: "Paul Moore" , X-Mailer: aerc 0.14.0 References: <20230729024026.32228-1-yuehaibing@huawei.com> In-Reply-To: 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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 12:31:34 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.vger.email On Wed Sep 13, 2023 at 9:00 PM EEST, Paul Moore wrote: > On Mon, Aug 7, 2023 at 5:46=E2=80=AFPM Paul Moore w= rote: > > On Fri, Jul 28, 2023 at 10:40=E2=80=AFPM Yue Haibing wrote: > > > > > > From: YueHaibing > > > > > > Since commit b2a4df200d57 ("KEYS: Expand the capacity of a keyring") > > > iterate_over_keyring() is never used, so can be removed. > > > > > > And commit b5f545c880a2 ("[PATCH] keys: Permit running process to ins= tantiate keys") > > > left behind keyring_search_instkey(). > > > > > > Fixes: b2a4df200d57 ("KEYS: Expand the capacity of a keyring") > > > Fixes: b5f545c880a2 ("[PATCH] keys: Permit running process to instant= iate keys") > > > Signed-off-by: YueHaibing > > > --- > > > v3: Add Fixes tag > > > v2: Also remove keyring_search_instkey() > > > --- > > > security/keys/internal.h | 7 ------- > > > 1 file changed, 7 deletions(-) > > > > Reviewed-by: Paul Moore > > Jarkko or David, please merge this or explain what is wrong with this pat= ch. Sorry, I was aiming to pick this, and thanks for reminding. Applied. BR, Jarkko