lkml.org 
[lkml]   [2017]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKernel 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]
\
 
 \ /
  Last update: 2017-06-05 00:13    [W:0.066 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site