The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=032fbda024d78a8e2f9479efcdda8604c62bcea0
commit 032fbda024d78a8e2f9479efcdda8604c62bcea0 Author: John Baldwin <[email protected]> AuthorDate: 2025-11-20 14:36:50 +0000 Commit: John Baldwin <[email protected]> CommitDate: 2025-11-20 14:36:50 +0000 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 --- sys/dev/nvme/nvme.h | 1 + 1 file changed, 1 insertion(+) 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;
