* [tip:WIP.timers/core 50/68] include/linux/posix-timers.h:98:19: error: 'RLIM_INFINITY' undeclared
@ 2019-08-19 23:37 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-19 23:37 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild
[-- Attachment #1: Type: text/plain, Size: 2665 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.timers/core
head: b16101077c4444bc7e0dde91e7ffb258ce1f979b
commit: 5ccda256adfd2674f96b6f7a90b2ea8aaddc46bd [50/68] posix-cpu-timers: Move expiry cache into struct posix_cputimers
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5ccda256adfd2674f96b6f7a90b2ea8aaddc46bd
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:0:0:
include/linux/posix-timers.h:82:22: error: field 'cputime_expires' has incomplete type
struct task_cputime cputime_expires;
^~~~~~~~~~~~~~~
include/linux/posix-timers.h: In function 'posix_cputimers_group_init':
>> include/linux/posix-timers.h:98:19: error: 'RLIM_INFINITY' undeclared (first use in this function)
if (cpu_limit != RLIM_INFINITY)
^~~~~~~~~~~~~
include/linux/posix-timers.h:98:19: note: each undeclared identifier is reported only once for each function it appears in
vim +/RLIM_INFINITY +98 include/linux/posix-timers.h
72
73 #ifdef CONFIG_POSIX_TIMERS
74 /**
75 * posix_cputimers - Container for posix CPU timer related data
76 * @cputime_expires: Earliest-expiration cache
77 * @cpu_timers: List heads to queue posix CPU timers
78 *
79 * Used in task_struct and signal_struct
80 */
81 struct posix_cputimers {
> 82 struct task_cputime cputime_expires;
83 struct list_head cpu_timers[CPUCLOCK_MAX];
84 };
85
86 static inline void posix_cputimers_init(struct posix_cputimers *pct)
87 {
88 memset(&pct->cputime_expires, 0, sizeof(pct->cputime_expires));
89 INIT_LIST_HEAD(&pct->cpu_timers[0]);
90 INIT_LIST_HEAD(&pct->cpu_timers[1]);
91 INIT_LIST_HEAD(&pct->cpu_timers[2]);
92 }
93
94 static inline void posix_cputimers_group_init(struct posix_cputimers *pct,
95 u64 cpu_limit)
96 {
97 posix_cputimers_init(pct);
> 98 if (cpu_limit != RLIM_INFINITY)
99 pct->cputime_expires.prof_exp = cpu_limit * NSEC_PER_SEC;
100 }
101
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58647 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-19 23:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 23:37 [tip:WIP.timers/core 50/68] include/linux/posix-timers.h:98:19: error: 'RLIM_INFINITY' 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
all inboxes | Powered by JetHome®