From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752183AbeCNO51 (ORCPT ); Wed, 14 Mar 2018 10:57:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:37865 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbeCNO50 (ORCPT ); Wed, 14 Mar 2018 10:57:26 -0400 Date: Wed, 14 Mar 2018 15:57:24 +0100 From: Michal Hocko To: Andrew Morton Cc: linux-kernel@vger.kernel.org, rdunlap@infradead.org, sfr@canb.auug.org.au Subject: Re: + headers-untangle-kmemleakh-from-mmh-fix.patch added to -mm tree Message-ID: <20180314145724.GJ23100@dhcp22.suse.cz> References: <20180306234907.8-AwjmNNh%akpm@linux-foundation.org> <20180314121704.GA23036@dhcp22.suse.cz> <20180314075055.353f2d975defb2af34f65d2b@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180314075055.353f2d975defb2af34f65d2b@linux-foundation.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 14-03-18 07:50:55, Andrew Morton wrote: > On Wed, 14 Mar 2018 13:17:04 +0100 Michal Hocko wrote: > > > > --- a/security/keys/big_key.c~headers-untangle-kmemleakh-from-mmh-fix > > > +++ a/security/keys/big_key.c > > > @@ -18,6 +18,7 @@ > > > #include > > > #include > > > #include > > > +#include > > > #include > > > #include > > > #include > > > > 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 > > 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 > > --- > > 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 > > #include > > #include > > +#include > > #include > > #include > > 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 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 Signed-off-by: Randy Dunlap Cc: Mimi Zohar Cc: linux-integrity@vger.kernel.org Link: http://kisskb.ellerman.id.au/kisskb/head/13396/ Signed-off-by: James Morris And that is why I haven't noticed that. -- Michal Hocko SUSE Labs