From: Andrew Morton Cc: "Randy.Dunlap" Cc: Christoph Lameter Cc: Paulo Marques Cc: Robert Peterson Cc: Roman Zippel Cc: Rusty Russell Cc: Sam Ravnborg Signed-off-by: Andrew Morton --- include/linux/kallsyms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/linux/kallsyms.h~extend-print_symbol-capability-fix-fix include/linux/kallsyms.h --- a/include/linux/kallsyms.h~extend-print_symbol-capability-fix-fix +++ a/include/linux/kallsyms.h @@ -52,10 +52,10 @@ static inline const char *kallsyms_looku return NULL; } -static inline void sprint_symbol(char *buffer, unsigned long addr) +static inline int sprint_symbol(char *buffer, unsigned long addr) { *buffer = '\0'; - return; + return 0; } /* Stupid that this does nothing, but I didn't create this mess. */ _