Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp795262ybx; Wed, 30 Oct 2019 05:15:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB9JJhX9qFjFbnzxFco+jdTi7EkjShAeybaZvUBFgehK6iYhNDGw/4Kzbwx5WrcFOPTsAn X-Received: by 2002:a50:eb89:: with SMTP id y9mr13834798edr.15.1572437739429; Wed, 30 Oct 2019 05:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572437739; cv=none; d=google.com; s=arc-20160816; b=P+D6cn0RnBUmWOQ3LELSefI6vP0DMrP3qrLrYqYRFBg4ZRgRY4ATeVD6P3xmq28CVn mFQjugX4df2+QquO3iouszqIKsVWeFZHBVa7gZXxaYR9vyT2rURu9D94czfZhs9LcAx1 bgK1DLurV6KSZPhrtiNCACq7a9WAbNHCMOKwnJqK8XJ4qCyMGxdCSyV6jQrbrzvpg6CJ 2IgsMGXye7aWRCAM8D83ri54TLd3S/b/tvChBCkukLnziN6z8F+0+5RFowdf4wEjWGPC 3+IomRiOdcGbv7KfJtauKArYTiojqPASriELEyoLUwBYOb+dhoZUAbkfEZg03zByDh5+ uZYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=bi4dcws8Vq3AZn0WEa3NQ9P/+XBtpi0v8up0JMBh9xo=; b=hQafnkwJo7too5YtHIX1KG70LHWmXBo3wo/QlsvF1auKBbj8S7q3k6lLB7BY4fxZRw IZx7zlh5pvTYgDxjFnlG4O9geBv9LU/OuNO8zJn5Z553uQ2Nv/mv5Be8InVWs/gz55tF wXx3jiQABlKTAyDqDniafzUs+WjhAjLwGNPbOmuzjcfUZAN7rVHBPTgCX3FHSo5y3Kdz 1I1yWJHEDFPF1XHJ6q2l4rQ1o3lQLxyFeVekp/NrCxcnt3D6cDT4j9/T4W9bAwSGRBNa Vok0F4Ny7eWjeXsevKKGotstnvnPe/QkdKdKJBJTN4jF863HlnaIMmHjrVjbAARocDX0 C10w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c57si1349078edc.386.2019.10.30.05.15.16; Wed, 30 Oct 2019 05:15:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726667AbfJ3MOU (ORCPT + 99 others); Wed, 30 Oct 2019 08:14:20 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:43871 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfJ3MOU (ORCPT ); Wed, 30 Oct 2019 08:14:20 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4736nk4Wzwz9sPj; Wed, 30 Oct 2019 23:14:18 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 29674a1c71be710f8418468aa6a8addd6d1aba1c In-Reply-To: <1568733750-14580-1-git-send-email-cai@lca.pw> To: Qian Cai From: Michael Ellerman Cc: linuxram@us.ibm.com, linux-kernel@vger.kernel.org, Qian Cai , paulus@samba.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/pkeys: remove unused pkey_allows_readwrite Message-Id: <4736nk4Wzwz9sPj@ozlabs.org> Date: Wed, 30 Oct 2019 23:14:18 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-09-17 at 15:22:30 UTC, Qian Cai wrote: > pkey_allows_readwrite() was first introduced in the commit 5586cf61e108 > ("powerpc: introduce execute-only pkey"), but the usage was removed > entirely in the commit a4fcc877d4e1 ("powerpc/pkeys: Preallocate > execute-only key"). > > Found by the "-Wunused-function" compiler warning flag. > > Fixes: a4fcc877d4e1 ("powerpc/pkeys: Preallocate execute-only key") > Signed-off-by: Qian Cai Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/29674a1c71be710f8418468aa6a8addd6d1aba1c cheers