mdadm/raid6check: add xmalloc.h to raid6check.c
PATCH 1/1 mdadm/raid6check: add xmalloc.h to raid6check.c
It reports building error:
raid6check.c:324:26: error: implicit declaration of function xmalloc
Add xmalloc.h to raid6check.c file to fix this.
Signed-off-by Xiao Ni <[email protected]>
--- raid6check.c | 1 + 1 file changed, 1 insertion(+)
raid6check.c +1 -0
@@ -23,6 +23,7 @@*/ #include "mdadm.h" +#include "xmalloc.h" #include <stdint.h> #include <sys/mman.h>
Signature · 1 line
2.32.0 (Apple Git-132)
Song Liu
maintainerQuoted 7 lines · Xiao Ni
It reports building error:
raid6check.c:324:26: error: implicit declaration of function xmallocAdd
xmalloc.htoraid6check.cfile to fix this.Signed-off-by Xiao Ni <[email protected]>
Reviewed-and-tested-by Song Liu <[email protected]>
It appears I cannot push to the mdadm repo on kernel.org yet.
Song