hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/kernel/compat.c
....@@ -152,7 +152,7 @@
152152 if (len & (sizeof(compat_ulong_t)-1))
153153 return -EINVAL;
154154
155
- if (!alloc_cpumask_var(&mask, GFP_KERNEL))
155
+ if (!zalloc_cpumask_var(&mask, GFP_KERNEL))
156156 return -ENOMEM;
157157
158158 ret = sched_getaffinity(pid, mask);