From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754578Ab1HJSWp (ORCPT ); Wed, 10 Aug 2011 14:22:45 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:44982 "HELO oproxy6-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754286Ab1HJSWo (ORCPT ); Wed, 10 Aug 2011 14:22:44 -0400 Date: Wed, 10 Aug 2011 11:22:42 -0700 From: Randy Dunlap To: Linus Torvalds , Dan Magenheimer Cc: Linux Kernel Mailing List , Konrad Wilk , xen-devel@lists.xensource.com Subject: [PATCH mainline] xen: xen-selfballoon.c needs more header files Message-Id: <20110810112242.18b743de.rdunlap@xenotime.net> In-Reply-To: References: Organization: YPO4 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-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build errors (found when CONFIG_SYSFS is not enabled): drivers/xen/xen-selfballoon.c:446: warning: data definition has no type or storage class drivers/xen/xen-selfballoon.c:446: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' drivers/xen/xen-selfballoon.c:446: warning: parameter names (without types) in function declaration drivers/xen/xen-selfballoon.c:485: error: expected declaration specifiers or '...' before string constant drivers/xen/xen-selfballoon.c:485: warning: data definition has no type or storage class drivers/xen/xen-selfballoon.c:485: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' drivers/xen/xen-selfballoon.c:485: warning: function declaration isn't a prototype Signed-off-by: Randy Dunlap --- drivers/xen/xen-selfballoon.c | 1 + 1 file changed, 1 insertion(+) and will need when module.h is split up. --- lnx-31-rc1.orig/drivers/xen/xen-selfballoon.c +++ lnx-31-rc1/drivers/xen/xen-selfballoon.c @@ -70,6 +70,7 @@ #include #include #include +#include #include #include #include