Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-08 Thread Steven Rostedt
On Tue, 08 Jul 2014 09:10:09 +0930 Rusty Russell wrote: > Subject: modules: Fix build error in moduleloader.h > > Fengguang Wu's build bot detected that if moduleloader.h is included in > a C file (used by ftrace and kprobes to access module_alloc() when > available), that it can fail to build

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-08 Thread Steven Rostedt
On Tue, 08 Jul 2014 09:10:09 +0930 Rusty Russell ru...@rustcorp.com.au wrote: Subject: modules: Fix build error in moduleloader.h Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-07 Thread Masami Hiramatsu
(2014/07/08 8:40), Rusty Russell wrote: > Steven Rostedt writes: >> Fengguang Wu's build bot detected that if moduleloader.h is included in >> a C file (used by ftrace and kprobes to access module_alloc() when >> available), that it can fail to build if CONFIG_MODULES and >>

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-07 Thread Rusty Russell
Steven Rostedt writes: > Fengguang Wu's build bot detected that if moduleloader.h is included in > a C file (used by ftrace and kprobes to access module_alloc() when > available), that it can fail to build if CONFIG_MODULES and > CONFIG_MODULES_USE_ELF_REL is not defined. > > This is because

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-07 Thread Rusty Russell
Steven Rostedt rost...@goodmis.org writes: Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it can fail to build if CONFIG_MODULES and CONFIG_MODULES_USE_ELF_REL is not defined. This is

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-07 Thread Masami Hiramatsu
(2014/07/08 8:40), Rusty Russell wrote: Steven Rostedt rost...@goodmis.org writes: Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it can fail to build if CONFIG_MODULES and

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-03 Thread Masami Hiramatsu
(2014/07/03 22:21), Steven Rostedt wrote: > Fengguang Wu's build bot detected that if moduleloader.h is included in > a C file (used by ftrace and kprobes to access module_alloc() when > available), that it can fail to build if CONFIG_MODULES and > CONFIG_MODULES_USE_ELF_REL is not defined. > >

[PATCH] modules: Fix build error in moduleloader.h

2014-07-03 Thread Steven Rostedt
Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it can fail to build if CONFIG_MODULES and CONFIG_MODULES_USE_ELF_REL is not defined. This is because there's a printk() that dereferences

[PATCH] modules: Fix build error in moduleloader.h

2014-07-03 Thread Steven Rostedt
Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it can fail to build if CONFIG_MODULES and CONFIG_MODULES_USE_ELF_REL is not defined. This is because there's a printk() that dereferences

Re: [PATCH] modules: Fix build error in moduleloader.h

2014-07-03 Thread Masami Hiramatsu
(2014/07/03 22:21), Steven Rostedt wrote: Fengguang Wu's build bot detected that if moduleloader.h is included in a C file (used by ftrace and kprobes to access module_alloc() when available), that it can fail to build if CONFIG_MODULES and CONFIG_MODULES_USE_ELF_REL is not defined. This is