From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754895AbbHFHYI (ORCPT ); Thu, 6 Aug 2015 03:24:08 -0400 Received: from ozlabs.org ([103.22.144.67]:36391 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753794AbbHFHYG (ORCPT ); Thu, 6 Aug 2015 03:24:06 -0400 Date: Thu, 6 Aug 2015 17:24:03 +1000 From: Stephen Rothwell To: Andrew Morton Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, James Hogan , Kees Cook Subject: linux-next: build failure after merge of the akpm-current tree Message-ID: <20150806172403.6eac2407@canb.auug.org.au> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; i586-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc allyesconfig) failed like this: lib/test_user_copy.c: In function 'test_user_copy_init': lib/test_user_copy.c:111:2: error: implicit declaration of function 'csum_partial_copy_from_user' [-Werror=implicit-function-declaration] csum_partial_copy_from_user(usermem, kmem, PAGE_SIZE, 0, &err); ^ Caused by commit 0b6e2917b6fc ("lib/test_user_copy.c: check user checksum functions") It looks like PowerPC 64 bit has an implementation of csum_and_copy_from_user() that does not use csum_partial_copy_from_user() and so this latter does not exist. You need to check for _HAVE_ARCH_COPY_AND_CSUM_FROM_USER. I have reverted that commit for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au