Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1714385
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup |
| Date | 2017-08-17 23:20 +0200 |
| Message-ID | <ufAmR-21P-1@gated-at.bofh.it> (permalink) |
| References | <ueNPb-4e6-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Waiman,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc5 next-20170817]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Waiman-Long/cpuset-Allow-v2-behavior-in-v1-cgroup/20170818-040416
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
kernel/cgroup/cpuset.c: In function 'set_v2_mode':
>> kernel/cgroup/cpuset.c:2145:24: error: passing argument 3 of 'kstrtol' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = kstrtol(str, 0, &val);
^
In file included from include/linux/list.h:8:0,
from include/linux/kobject.h:20,
from include/linux/device.h:17,
from include/linux/node.h:17,
from include/linux/cpu.h:16,
from kernel/cgroup/cpuset.c:25:
include/linux/kernel.h:332:32: note: expected 'long int *' but argument is of type 'ssize_t * {aka int *}'
static inline int __must_check kstrtol(const char *s, unsigned int base, long *res)
^~~~~~~
cc1: some warnings being treated as errors
vim +/kstrtol +2145 kernel/cgroup/cpuset.c
2138
2139 static int __init set_v2_mode(char *str)
2140 {
2141 ssize_t ret, val;
2142
2143 if (!str)
2144 return 0;
> 2145 ret = kstrtol(str, 0, &val);
2146 cpuset_v2_mode = !!val;
2147 return ret;
2148 }
2149 __setup("cpuset_v2_mode=", set_v2_mode);
2150
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] cpuset: Allow v2 behavior in v1 cgroup Waiman Long <longman@redhat.com> - 2017-08-15 19:30 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup Zefan Li <lizefan@huawei.com> - 2017-08-16 03:30 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup Tejun Heo <tj@kernel.org> - 2017-08-16 16:30 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup Waiman Long <longman@redhat.com> - 2017-08-16 16:40 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup Tejun Heo <tj@kernel.org> - 2017-08-16 16:40 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup Waiman Long <longman@redhat.com> - 2017-08-16 16:40 +0200
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup kbuild test robot <lkp@intel.com> - 2017-08-17 23:20 +0200
csiph-web