Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758200Ab1FAQPK (ORCPT ); Wed, 1 Jun 2011 12:15:10 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:54632 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755666Ab1FAQPG (ORCPT ); Wed, 1 Jun 2011 12:15:06 -0400 Date: Wed, 1 Jun 2011 09:14:03 -0700 From: Randy Dunlap To: Stephen Rothwell , David Woodhouse , akpm Cc: linux-next@vger.kernel.org, LKML , KOSAKI Motohiro , Simon Kagstrom Subject: [PATCH -next -resend] kmsg_dump.h: needs errno.h Message-Id: <20110601091403.1e41ef91.randy.dunlap@oracle.com> In-Reply-To: <20110601134322.f59f5603.sfr@canb.auug.org.au> References: <20110601134322.f59f5603.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090204.4DE66559.00EF:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 40 From: Randy Dunlap Fix when CONFIG_PRINTK is not enabled: include/linux/kmsg_dump.h:56: error: 'EINVAL' undeclared (first use in this function) include/linux/kmsg_dump.h:61: error: 'EINVAL' undeclared (first use in this function) Looks like previous commit: commit 595dd3d8bf953254d8d2f30f99c54fe09c470040 Author: Randy Dunlap Date: Tue Dec 1 10:52:02 2009 -0800 kmsg_dump: fix build for CONFIG_PRINTK=n uses EINVAL without having the needed header file(s), but I'm sure that I build tested that patch also. oh well. Signed-off-by: Randy Dunlap Cc: KOSAKI Motohiro Cc: Simon Kagstrom Cc: David Woodhouse --- include/linux/kmsg_dump.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110524.orig/include/linux/kmsg_dump.h +++ linux-next-20110524/include/linux/kmsg_dump.h @@ -12,6 +12,7 @@ #ifndef _LINUX_KMSG_DUMP_H #define _LINUX_KMSG_DUMP_H +#include #include enum kmsg_dump_reason { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/