aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-11-20 14:36:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-11-20 14:36:50 +0000
commit032fbda024d78a8e2f9479efcdda8604c62bcea0 (patch)
treea14f0740d5c5dbecf854ee2844ffd6165ec82f14
parent896dc30bc9bc2f7407b04ca4c08f88b1c7bf9d60 (diff)
nvme: Include <sys/systm.h> explicitly for memmove
Reported by: andrew, rpokala Fixes: 8d2a50bb3805 ("nvme: Abstract out function to obtain a disk ident string from cdata") Sponsored by: Chelsio Communications
-rw-r--r--sys/dev/nvme/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 8f7a7fbda14c..c8eba3df9c2a 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -1910,6 +1910,7 @@ void nvme_sc_sbuf(const struct nvme_completion *cpl, struct sbuf *sbuf);
void nvme_strvis(uint8_t *dst, const uint8_t *src, int dstlen, int srclen);
#ifdef _KERNEL
+#include <sys/systm.h>
#include <sys/disk.h>
struct bio;