Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help

commit babb41a81e84ecb055992720f36a80e31260d372
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-12-02 04:55:39 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-12-02 04:58:07 +0000

    nvme: Minor style nit
    
    Sponsored by:           Netflix
---
 sys/dev/nvme/nvme.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 61e4aa8cb94b..b696cc6aa697 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -32,6 +32,7 @@
 #include <sys/param.h>
 #ifdef _KERNEL
 #include <sys/systm.h>
+#include <sys/disk.h>
 #else
 #include <stdbool.h>
 #endif
@@ -1907,8 +1908,6 @@ 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/disk.h>
-
 struct bio;
 struct thread;