[mmotm:master 16/389] fs/notify/fanotify/fanotify_user.c:701:2: error: implicit declaration of function 'personality'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   a51cc1787cdef3f17536d6a6dc1edd0e7a85988f
commit: efeebf123cce39e502749636d92de8f0a2b39b41 [16/389] fanotify: fix -EOVERFLOW with large files on 64-bit
config: make ARCH=ia64 allmodconfig

All error/warnings:

   fs/notify/fanotify/fanotify_user.c: In function 'SYSC_fanotify_init':
>> fs/notify/fanotify/fanotify_user.c:701:2: error: implicit declaration of function 'personality' [-Werror=implicit-function-declaration]
>> fs/notify/fanotify/fanotify_user.c:701:1: error: 'PER_LINUX32' undeclared (first use in this function)
   fs/notify/fanotify/fanotify_user.c:701:1: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/personality +701 fs/notify/fanotify/fanotify_user.c

   695		if (unlikely(!oevent)) {
   696			fd = -ENOMEM;
   697			goto out_destroy_group;
   698		}
   699		group->overflow_event = &oevent->fse;
   700	
 > 701		if (force_o_largefile())
   702			event_f_flags |= O_LARGEFILE;
   703		group->fanotify_data.f_flags = event_f_flags;
   704	#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]