Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp755051pxp; Fri, 11 Mar 2022 14:15:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZxIInaaJKTMwi88tmB8IywtJ0zNsXp8ZwUw+MNUDV1JzihOeagXIMAQaFhmb+J37Xr4iz X-Received: by 2002:a17:903:11cf:b0:153:4723:61de with SMTP id q15-20020a17090311cf00b00153472361demr769496plh.50.1647036944890; Fri, 11 Mar 2022 14:15:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647036944; cv=none; d=google.com; s=arc-20160816; b=uNd2G4sIG1mq5OivEEAZ5cuEHHLFBoJzqFIh6yUf3lhmBEBdil42lq29o5mTLpNyUY szwkac2wIM4ExLTD8rON0sPeRXD/vLgNqGAKzhvpRtefK+KnEAPt3XCIBlIagoEBfbDN FzuYlSvOAqM3V0wGvKO2p1sUGtrrtxTxEOAvP/sFWbBZoL954cpL2bsrPAJZ9LRdaoPE 2afu7BfIx7gyApngpAQlQrSMGorIzsxH17461JAbk8nEjzbW1Zt54IcDMJTHW3XwRZUq b/bylg+jNzCIVW+yk9uxesiEn3OLfq/VctW5rymtLqW/JNz558o9YasV0wiQZhNfPO4s GmrA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N33Ccp0zyJKKEKGbo9nnw3atngRYi4dZjGD92Z8h9TQ=; b=XB8Su5hT738yx4LlB00+s367YwfVHhcuA53Ny5W1SkhiE67oklQ7QO9KJyGXfH28IU IdvriOzPmcQ2Ikc20c6mSrZfHaX5yVI4raZaNsWqduOFQWtaWukBqELnMLEnYDlTO7FC y+52gpUQIEqjKYOcA8fjYEP94bWKRPhq08hGDF5DrYuDAhIcPs8XWxyWV0DW6MXdjPYG AMj0XLf06JcGyHyWdYtnNtbzutjbI8UpxGVBMsJMr+QRWgmZ9aQAKVwLFlHnaCl0dwRF qKYr8W2qlRQ4efgK4ATz6IF9RqRong2TiYAB4XijxPJ5jrwEm7v/FiZGoxHU7ZNkXNHf PwJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BVI+1L1B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c32-20020a630d20000000b003729ec91b57si8956551pgl.360.2022.03.11.14.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 14:15:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BVI+1L1B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9817222BE9D; Fri, 11 Mar 2022 13:25:09 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239379AbiCKA7i (ORCPT + 99 others); Thu, 10 Mar 2022 19:59:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231699AbiCKA7f (ORCPT ); Thu, 10 Mar 2022 19:59:35 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F418E7ADD for ; Thu, 10 Mar 2022 16:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646960313; x=1678496313; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qdRZwcheezTGfs6H8foja5La9g1WfULiBkuZy4sc1Hs=; b=BVI+1L1BHyl8NzGNTo+OH9vjJo+ELs2LACOOxZ8L1fJnZ2eGuzyf7ocA gr19fP9kiJ27YquhmealWGU6cpO2s9YflbychIpjlIzlCH4ADu+3TBI/L ADPQOAQExY8vmGyBgHJRKeAE2Um0niYV7dA4EfAcf1SpaZmxniXXHTwME OaZo7lqjsApJtfOCCAJoBb+bKNltvSjGVnltG/Fitd7+SiJcBaDP1bK08 a5711tVpFHtDkg9bw38E3GmZU+lTaJ9r/O+jH6E56QlVRspEyUXMsSgAO zF8eJUUr+51gNyfvYQ0zDhNA0oKwotX12eVilQcbdnELL5KYwjFq9weqb A==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255405800" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255405800" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 16:57:45 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="538750557" Received: from gdavids1-mobl.amr.corp.intel.com (HELO localhost) ([10.212.65.108]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 16:57:45 -0800 From: ira.weiny@intel.com To: Dave Hansen , "Aneesh Kumar K.V" Cc: Ira Weiny , "Edgecombe, Rick P" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] x86/pkeys: Clean up arch_set_user_pkey_access() declaration Date: Thu, 10 Mar 2022 16:57:38 -0800 Message-Id: <20220311005742.1060992-2-ira.weiny@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220311005742.1060992-1-ira.weiny@intel.com> References: <20220311005742.1060992-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Ira Weiny arch_set_user_pkey_access() was declared two times in the header. Remove the 2nd declaration. Suggested-by: "Edgecombe, Rick P" Signed-off-by: Ira Weiny --- arch/x86/include/asm/pkeys.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/pkeys.h b/arch/x86/include/asm/pkeys.h index 1d5f14aff5f6..9c530530b9a7 100644 --- a/arch/x86/include/asm/pkeys.h +++ b/arch/x86/include/asm/pkeys.h @@ -118,8 +118,6 @@ int mm_pkey_free(struct mm_struct *mm, int pkey) return 0; } -extern int arch_set_user_pkey_access(struct task_struct *tsk, int pkey, - unsigned long init_val); extern int __arch_set_user_pkey_access(struct task_struct *tsk, int pkey, unsigned long init_val); -- 2.35.1