From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build failure after merge of the acpi tree Date: Fri, 13 Aug 2010 10:56:02 +1000 Message-ID: <20100813105602.a6daf552.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from chilli.pcug.org.au ([203.10.76.44]:37502 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699Ab0HMA4F (ORCPT ); Thu, 12 Aug 2010 20:56:05 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: Len Brown Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Zhang Rui Hi Len, After merging the acpi tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/acpi/debugfs.c: In function 'cm_write': drivers/acpi/debugfs.c:36: error: implicit declaration of function 'copy_from_user' Caused by commit c0b82d427637c7598af5d7926187a7781c03bce8 ("ACPI: introduce drivers/acpi/debugfs.c"), interacting with something that stopped linux/uaccess.h from being implicitly included. See Rule 1 in Documentation/SubmitChecklist. I have added the following patch for today: From: Stephen Rothwell Date: Fri, 13 Aug 2010 10:52:30 +1000 Subject: [PATCH] acpi: using copy_from_user needs linux/uaccess.h fixes this build error: drivers/acpi/debugfs.c: In function 'cm_write': drivers/acpi/debugfs.c:36: error: implicit declaration of function 'copy_from_user' Signed-off-by: Stephen Rothwell --- drivers/acpi/debugfs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/debugfs.c b/drivers/acpi/debugfs.c index f0cd0e7..4f19078 100644 --- a/drivers/acpi/debugfs.c +++ b/drivers/acpi/debugfs.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #define _COMPONENT ACPI_SYSTEM_COMPONENT -- 1.7.1 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/