* [sashal-linux-stable-security:linux-3.10.y-security 244/1389] ipc/shm.c:206:22: error: 'shm_rcu_free' undeclared
@ 2016-09-07 20:51 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-09-07 20:51 UTC (permalink / raw)
To: Greg Thelen
Cc: kbuild-all, Sasha Levin, Andrew Morton,
Linux Memory Management List, Greg Kroah-Hartman
[-- Attachment #1: Type: text/plain, Size: 2429 bytes --]
Hi Greg,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable-security.git linux-3.10.y-security
head: 69c2f7bfd1c3f78cff79345a7d013684c2014325
commit: cc1983ffd188ab8ce2bcf3df48f08aa11e018165 [244/1389] ipc,shm: fix shm_file deletion races
config: i386-randconfig-s1-201636 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
git checkout cc1983ffd188ab8ce2bcf3df48f08aa11e018165
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
ipc/shm.c: In function 'shm_destroy':
>> ipc/shm.c:206:22: error: 'shm_rcu_free' undeclared (first use in this function)
ipc_rcu_putref(shp, shm_rcu_free);
^
ipc/shm.c:206:22: note: each undeclared identifier is reported only once for each function it appears in
>> ipc/shm.c:206:2: error: too many arguments to function 'ipc_rcu_putref'
ipc_rcu_putref(shp, shm_rcu_free);
^
In file included from ipc/shm.c:48:0:
ipc/util.h:123:6: note: declared here
void ipc_rcu_putref(void *ptr);
^
ipc/shm.c: In function 'SYSC_shmctl':
ipc/shm.c:929:3: error: implicit declaration of function 'shm_obtain_object_check' [-Werror=implicit-function-declaration]
shp = shm_obtain_object_check(ns, shmid);
^
ipc/shm.c:929:7: warning: assignment makes pointer from integer without a cast
shp = shm_obtain_object_check(ns, shmid);
^
ipc/shm.c:979:3: error: implicit declaration of function 'ipc_unlock_object' [-Werror=implicit-function-declaration]
ipc_unlock_object(&shp->shm_perm);
^
ipc/shm.c: In function 'do_shmat':
ipc/shm.c:1062:6: warning: assignment makes pointer from integer without a cast
shp = shm_obtain_object_check(ns, shmid);
^
cc1: some warnings being treated as errors
vim +/shm_rcu_free +206 ipc/shm.c
200 if (!is_file_hugepages(shm_file))
201 shmem_lock(shm_file, 0, shp->mlock_user);
202 else if (shp->mlock_user)
203 user_shm_unlock(file_inode(shm_file)->i_size, shp->mlock_user);
204 fput(shm_file);
205 security_shm_free(shp);
> 206 ipc_rcu_putref(shp, shm_rcu_free);
207 }
208
209 /*
---
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: 21566 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-07 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 20:51 [sashal-linux-stable-security:linux-3.10.y-security 244/1389] ipc/shm.c:206:22: error: 'shm_rcu_free' undeclared kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox