forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/lib/nodemask.c
....@@ -3,9 +3,9 @@
33 #include <linux/module.h>
44 #include <linux/random.h>
55
6
-int __next_node_in(int node, const nodemask_t *srcp)
6
+unsigned int __next_node_in(int node, const nodemask_t *srcp)
77 {
8
- int ret = __next_node(node, srcp);
8
+ unsigned int ret = __next_node(node, srcp);
99
1010 if (ret == MAX_NUMNODES)
1111 ret = __first_node(srcp);