* [sashal-linux-stable-security:linux-3.2.y-security 1025/1698] lib/idr.c:162:4: error: implicit declaration of function 'idr_max'
@ 2016-09-07 18:17 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-09-07 18:17 UTC (permalink / raw)
To: Lai Jiangshan
Cc: kbuild-all, Sasha Levin, Andrew Morton,
Linux Memory Management List, Ben Hutchings
[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable-security.git linux-3.2.y-security
head: 898614808b51d26adab360afbbbc5b501abdf962
commit: 71d417302c0d4ea1341902c88218769ab91e28e8 [1025/1698] idr: fix overflow bug during maximum ID calculation at maximum height
config: i386-randconfig-s0-201636 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
git checkout 71d417302c0d4ea1341902c88218769ab91e28e8
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
lib/idr.c: In function 'sub_alloc':
>> lib/idr.c:162:4: error: implicit declaration of function 'idr_max' [-Werror=implicit-function-declaration]
if (id > idr_max(idp->layers)) {
^
cc1: some warnings being treated as errors
vim +/idr_max +162 lib/idr.c
156 /* no space available go back to previous layer. */
157 l++;
158 oid = id;
159 id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1;
160
161 /* if already at the top layer, we need to grow */
> 162 if (id > idr_max(idp->layers)) {
163 *starting_id = id;
164 return IDR_NEED_TO_GROW;
165 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 14333 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-07 23:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 18:17 [sashal-linux-stable-security:linux-3.2.y-security 1025/1698] lib/idr.c:162:4: error: implicit declaration of function 'idr_max' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.