[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180314145724.GJ23100@dhcp22.suse.cz>
Date: Wed, 14 Mar 2018 15:57:24 +0100
From: Michal Hocko <mhocko@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, rdunlap@...radead.org,
sfr@...b.auug.org.au
Subject: Re: + headers-untangle-kmemleakh-from-mmh-fix.patch added to -mm tree
On Wed 14-03-18 07:50:55, Andrew Morton wrote:
> On Wed, 14 Mar 2018 13:17:04 +0100 Michal Hocko <mhocko@...nel.org> wrote:
>
> > > --- a/security/keys/big_key.c~headers-untangle-kmemleakh-from-mmh-fix
> > > +++ a/security/keys/big_key.c
> > > @@ -18,6 +18,7 @@
> > > #include <linux/err.h>
> > > #include <linux/scatterlist.h>
> > > #include <linux/random.h>
> > > +#include <linux/vmalloc.h>
> > > #include <keys/user-type.h>
> > > #include <keys/big_key-type.h>
> > > #include <crypto/aead.h>
> >
> > My build test battery says we need also this one, m32r complains
> > otherwise for allmodconfig.
> >
> > >From 5c3f7a041df707417532dd64b1d71fc29b24c0fe Mon Sep 17 00:00:00 2001
> > From: Michal Hocko <mhocko@...e.com>
> > Date: Wed, 14 Mar 2018 13:15:49 +0100
> > Subject: [PATCH] headers-untangle-kmemleakh-from-mmh-fix-fix
> >
> > m32r allmodconfig complains with
> > security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
> > vfree(data);
> > ^
> > Signed-off-by: Michal Hocko <mhocko@...e.com>
> > ---
> > security/integrity/digsig.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c
> > index 6f9e4ce568cd..9bb0a7f2863e 100644
> > --- a/security/integrity/digsig.c
> > +++ b/security/integrity/digsig.c
> > @@ -18,6 +18,7 @@
> > #include <linux/cred.h>
> > #include <linux/key-type.h>
> > #include <linux/digsig.h>
> > +#include <linux/vmalloc.h>
> > #include <crypto/public_key.h>
> > #include <keys/system_keyring.h>
>
> hm, current linux-next.patch already has this change. What happened here?
OK, I see. This is usuall inter tree mess. It didn't fly through your
tree:
commit 120f3b11ef88fc38ce1d0ff9c9a4b37860ad3140
Author: Randy Dunlap <rdunlap@...radead.org>
Date: Mon Feb 12 17:26:20 2018 -0800
integrity/security: fix digsig.c build error with header file
security/integrity/digsig.c has build errors on some $ARCH due to a
missing header file, so add it.
security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
Reported-by: Michael Ellerman <mpe@...erman.id.au>
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc: linux-integrity@...r.kernel.org
Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
Signed-off-by: James Morris <james.morris@...rosoft.com>
And that is why I haven't noticed that.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists