From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751952AbdGaGqb (ORCPT ); Mon, 31 Jul 2017 02:46:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:52035 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751091AbdGaGqa (ORCPT ); Mon, 31 Jul 2017 02:46:30 -0400 Date: Mon, 31 Jul 2017 08:46:26 +0200 From: Michal Hocko To: kbuild test robot Cc: kbuild-all@01.org, Andrew Morton , David Rientjes , Johannes Weiner , Roman Gushchin , Tetsuo Handa , linux-mm@kvack.org, LKML Subject: Re: [PATCH 2/2] mm: replace TIF_MEMDIE checks by tsk_is_oom_victim Message-ID: <20170731064625.GB13036@dhcp22.suse.cz> References: <20170727090357.3205-3-mhocko@kernel.org> <201707291609.lv5NwUPI%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201707291609.lv5NwUPI%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 29-07-17 16:33:35, kbuild test robot wrote: > Hi Michal, > > [auto build test ERROR on cgroup/for-next] > [also build test ERROR on v4.13-rc2 next-20170728] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-oom-do-not-rely-on-TIF_MEMDIE-for-memory-reserves-access/20170728-101955 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next > config: i386-randconfig-c0-07291424 (attached as .config) > compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 > > All errors (new ones prefixed by >>): > > In file included from include/linux/ioport.h:12:0, > from include/linux/device.h:16, > from include/linux/node.h:17, > from include/linux/cpu.h:16, > from kernel/cgroup/cpuset.c:25: > kernel/cgroup/cpuset.c: In function '__cpuset_node_allowed': > >> include/linux/compiler.h:123:18: error: implicit declaration of function 'tsk_is_oom_victim' [-Werror=implicit-function-declaration] Thanks for the report. We need this --- commit 638b5ab1ed275f23b52a71941b66c8966d332cd7 Author: Michal Hocko Date: Mon Jul 31 08:45:53 2017 +0200 fold me - fix implicit declaration of function 'tsk_is_oom_victim' reported by 0day Signed-off-by: Michal Hocko diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 1cc53dff0d94..734ae4fa9775 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -56,6 +56,7 @@ #include #include #include +#include #include #include -- Michal Hocko SUSE Labs