Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH 1/1] mdadm/raid6check: add xmalloc.h to raid6check.c
@ 2025-01-17  7:15 Xiao Ni
  2025-01-17 18:37 ` Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Xiao Ni @ 2025-01-17  7:15 UTC (permalink / raw)
  To: mariusz.tkaczyk; +Cc: linux-raid, ncroxon

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 <xni@redhat.com>
---
 raid6check.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/raid6check.c b/raid6check.c
index 99477761c640..95533f7d0836 100644
--- a/raid6check.c
+++ b/raid6check.c
@@ -23,6 +23,7 @@
  */
 
 #include "mdadm.h"
+#include "xmalloc.h"
 #include <stdint.h>
 #include <sys/mman.h>
 
-- 
2.32.0 (Apple Git-132)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-17 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17  7:15 [PATCH 1/1] mdadm/raid6check: add xmalloc.h to raid6check.c Xiao Ni
2025-01-17 18:37 ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox