hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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);