forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
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);