lkml.org 
[lkml]   [2011]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH mainline] xen: xen-selfballoon.c needs more header files
    From: Randy Dunlap <rdunlap@xenotime.net>

    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 <rdunlap@xenotime.net>
    ---
    drivers/xen/xen-selfballoon.c | 1 +
    1 file changed, 1 insertion(+)

    and will need <linux/export.h> 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 <linux/kernel.h>
    #include <linux/mm.h>
    #include <linux/mman.h>
    +#include <linux/module.h>
    #include <linux/workqueue.h>
    #include <xen/balloon.h>
    #include <xen/tmem.h>

    \
     
     \ /
      Last update: 2011-08-10 20:25    [W:2.704 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site