From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753227AbdBRJdf (ORCPT ); Sat, 18 Feb 2017 04:33:35 -0500 Received: from ozlabs.org ([103.22.144.67]:33181 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbdBRJdd (ORCPT ); Sat, 18 Feb 2017 04:33:33 -0500 From: Michael Ellerman To: keescook@chromium.org Cc: kernel-hardening@lists.openwall.com, linux-kernel@vger.kernel.org, geert@linux-m68k.org Subject: [PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc Date: Sat, 18 Feb 2017 20:33:20 +1100 Message-Id: <1487410400-28313-1-git-send-email-mpe@ellerman.id.au> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add PPC32 to the opt-out list, otherwise it breaks the build. Signed-off-by: Michael Ellerman --- lib/test_user_copy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/test_user_copy.c b/lib/test_user_copy.c index 4a79f2c1cd6e..6f335a3d4ae2 100644 --- a/lib/test_user_copy.c +++ b/lib/test_user_copy.c @@ -37,6 +37,7 @@ !defined(CONFIG_MICROBLAZE) && \ !defined(CONFIG_MN10300) && \ !defined(CONFIG_NIOS2) && \ + !defined(CONFIG_PPC32) && \ !defined(CONFIG_SUPERH)) # define TEST_U64 #endif -- 2.7.4