Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1572369

[tip:WIP.sched/core 101/114] arch/ia64/mm/init.c:90:29: error: implicit declaration of function 'rlimit_max'

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [tip:WIP.sched/core 101/114] arch/ia64/mm/init.c:90:29: error: implicit declaration of function 'rlimit_max'
Date Thu, 02 Feb 2017 14:40:03 +0100
Message-ID <t6pMf-4F2-43@gated-at.bofh.it> (permalink)
X-Original-To Ingo Molnar <mingo@kernel.org>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.33,324,1477983600"; d="gz'50?scan'50,208,50";a="1090075472"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="sdtB3X0nJg68CQEu"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 162
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
X-Original-Date Thu, 2 Feb 2017 21:38:25 +0800
X-Original-Message-ID <201702022116.Soayy2ns%fengguang.wu@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1572369

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head:   6ddb6fab35cf50127c3c4dc9d5e15da4258a86c5
commit: 397fbcb564288fb6d39400ae1d2f3363ba19c501 [101/114] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>
config: ia64-allnoconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 397fbcb564288fb6d39400ae1d2f3363ba19c501
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   arch/ia64/mm/init.c: In function 'ia64_set_rbs_bot':
>> arch/ia64/mm/init.c:90:29: error: implicit declaration of function 'rlimit_max' [-Werror=implicit-function-declaration]
     unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16;
                                ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/rlimit_max +90 arch/ia64/mm/init.c

cde14bbf Jan Beulich    2007-02-05  84  	}
cde14bbf Jan Beulich    2007-02-05  85  }
cde14bbf Jan Beulich    2007-02-05  86  
^1da177e Linus Torvalds 2005-04-16  87  inline void
^1da177e Linus Torvalds 2005-04-16  88  ia64_set_rbs_bot (void)
^1da177e Linus Torvalds 2005-04-16  89  {
02b763b8 Jiri Slaby     2010-01-06 @90  	unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16;
^1da177e Linus Torvalds 2005-04-16  91  
^1da177e Linus Torvalds 2005-04-16  92  	if (stack_size > MAX_USER_STACK_SIZE)
^1da177e Linus Torvalds 2005-04-16  93  		stack_size = MAX_USER_STACK_SIZE;

:::::: The code at line 90 was first introduced by commit
:::::: 02b763b8ccc88d030117851f2b76a119932f109e [IA64] use helpers for rlimits

:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Tony Luck <tony.luck@intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[tip:WIP.sched/core 101/114] arch/ia64/mm/init.c:90:29: error:  implicit declaration of function 'rlimit_max' kbuild test robot <fengguang.wu@intel.com> - 2017-02-02 14:40 +0100

csiph-web