git: 80c8d742510c - stable/15 - nvme: Include <sys/systm.h> explicitly for memmove

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 24 Apr 2026 15:28:54 UTC
The branch stable/15 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=80c8d742510cb64965b468a141a57ab552a19e25

commit 80c8d742510cb64965b468a141a57ab552a19e25
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-11-20 14:36:50 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:26:37 +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
    (cherry picked from commit 032fbda024d78a8e2f9479efcdda8604c62bcea0)
---
 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 85b9658b755a..42620468e6f6 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -1912,6 +1912,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;