Messages in this thread | | | Date | Fri, 2 Jun 2017 15:30:47 +0200 | From | Emmanuel Florac <> | Subject | Kernel 3.18.55 compilation fails (missing function declaration) |
| |
Hi, kernel 3.18.55 compilation fails with this error:
kernel/fork.c: In function ‘dup_task_struct’: kernel/fork.c:341:2: error: implicit declaration of function ‘get_random_long’ [-Werror=implicit-function-declaration] tsk->stack_canary = get_random_long();
Corrected by adding the declaration to include/linux/random.h line 26 :
unsigned long get_random_long(void);
Sorry, I really can't understand how to generate a patch from a tagged release, my git-fu is far too low...
-- ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | <eflorac@intellique.com> | +33 1 78 94 84 02 ------------------------------------------------------------------------ [unhandled content-type:application/pgp-signature] | |