Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751262AbdFBNgt (ORCPT ); Fri, 2 Jun 2017 09:36:49 -0400 Received: from mail1.g1.pair.com ([66.39.3.162]:14832 "EHLO mail1.g1.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751138AbdFBNgs (ORCPT ); Fri, 2 Jun 2017 09:36:48 -0400 X-Greylist: delayed 363 seconds by postgrey-1.27 at vger.kernel.org; Fri, 02 Jun 2017 09:36:48 EDT Date: Fri, 2 Jun 2017 15:30:47 +0200 From: Emmanuel Florac To: linux-kernel@vger.kernel.org Subject: Kernel 3.18.55 compilation fails (missing function declaration) Message-ID: <20170602153047.2978ee6c@harpe.intellique.com> Organization: Intellique X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; i486-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/XuiLFH.8jVhUej8PBpGwl_2"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1289 Lines: 39 --Sig_/XuiLFH.8jVhUej8PBpGwl_2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, kernel 3.18.55 compilation fails with this error: kernel/fork.c: In function =E2=80=98dup_task_struct=E2=80=99: kernel/fork.c:341:2: error: implicit declaration of function =E2=80=98get_random_long=E2=80=99 [-Werror=3Dimplicit-function-declaration] tsk->stack_canary =3D 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... --=20 ------------------------------------------------------------------------ Emmanuel Florac | Direction technique | Intellique | | +33 1 78 94 84 02 ------------------------------------------------------------------------ --Sig_/XuiLFH.8jVhUej8PBpGwl_2 Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlkxaIcACgkQX3jQXNUicVZ7/gCg6FEx0WsevVG/oqwVuclTXb4A jM8AoLdnas8mTJ92UrfaD0cuC9IBFOr7 =LWVA -----END PGP SIGNATURE----- --Sig_/XuiLFH.8jVhUej8PBpGwl_2--