On Thu, 2 Apr 2015 10:04:43 +0800 kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > tree: git://git.cmpxchg.org/linux-mmotm.git master > head: c226e49f30453de9c6d82b001a985254990b32e0 > commit: 3de343256baf44761d580e5bec367065d8f361f1 [481/507] prctl: avoid using mmap_sem for exe_file serialization > reproduce: > # apt-get install sparse > git checkout 3de343256baf44761d580e5bec367065d8f361f1 > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > > > sparse warnings: (new ones prefixed by >>) > > kernel/sys.c:886:49: sparse: incorrect type in argument 2 (different modifiers) > kernel/sys.c:886:49: expected unsigned long [nocast] [usertype] *ut > kernel/sys.c:886:49: got unsigned long *<noident> > kernel/sys.c:886:49: sparse: implicit cast to nocast type > kernel/sys.c:886:59: sparse: incorrect type in argument 3 (different modifiers) > kernel/sys.c:886:59: expected unsigned long [nocast] [usertype] *st > kernel/sys.c:886:59: got unsigned long *<noident> > kernel/sys.c:886:59: sparse: implicit cast to nocast type > > ... > > 1547 unsigned long maxrss = 0; > 1548 > 1549 memset((char *)r, 0, sizeof (*r)); > 1550 utime = stime = 0; > 1551 > 1552 if (who == RUSAGE_THREAD) { > > 1553 task_cputime_adjusted(current, &utime, &stime); > 1554 accumulate_thread_rusage(p, r); > 1555 maxrss = p->signal->maxrss; > 1556 goto out; > 1557 } The warnings seem bogus - everything is using cputime_t? And I don't see how "prctl: avoid using mmap_sem for exe_file serialization" could have caused this even if it is wrong. -- 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>