On Fri, Jul 22, 2011 at 09:22:45AM -0700, Randy Dunlap wrote: > On Fri, 22 Jul 2011 16:42:37 +1000 Stephen Rothwell wrote: > > > Hi all, Hey Randy, This only shows up on xen but not xen-two? > > build errors & warnings: (full kernel config file is attached) > > > drivers/xen/xen-selfballoon.c:95: warning: 'struct work_struct' declared inside parameter list > drivers/xen/xen-selfballoon.c:95: warning: its scope is only this definition or declaration, which is probably not what you want > drivers/xen/xen-selfballoon.c:96: warning: type defaults to 'int' in declaration of 'DECLARE_DELAYED_WORK' > drivers/xen/xen-selfballoon.c:96: warning: parameter names (without types) in function declaration > drivers/xen/xen-selfballoon.c:195: warning: 'struct work_struct' declared inside parameter list > drivers/xen/xen-selfballoon.c:195: error: conflicting types for 'selfballoon_process' > drivers/xen/xen-selfballoon.c:95: note: previous declaration of 'selfballoon_process' was here > drivers/xen/xen-selfballoon.c: In function 'selfballoon_process': > drivers/xen/xen-selfballoon.c:229: error: implicit declaration of function 'schedule_delayed_work' > drivers/xen/xen-selfballoon.c:229: error: 'selfballoon_worker' undeclared (first use in this function) > drivers/xen/xen-selfballoon.c:229: error: (Each undeclared identifier is reported only once > drivers/xen/xen-selfballoon.c:229: error: for each function it appears in.) > drivers/xen/xen-selfballoon.c:230: error: 'HZ' undeclared (first use in this function) > drivers/xen/xen-selfballoon.c: In function 'store_selfballooning': > drivers/xen/xen-selfballoon.c:266: error: 'selfballoon_worker' undeclared (first use in this function) > drivers/xen/xen-selfballoon.c: In function 'xen_selfballoon_init': > drivers/xen/xen-selfballoon.c:452: error: implicit declaration of function 'xen_domain' > drivers/xen/xen-selfballoon.c:455: error: implicit declaration of function 'xen_initial_domain' > drivers/xen/xen-selfballoon.c:478: error: 'selfballoon_worker' undeclared (first use in this function) > > --- > ~Randy > *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html