virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio_pci: drop kernel.h
@ 2025-11-18 23:08 Michael S. Tsirkin
  2025-11-19  0:57 ` Chaitanya Kulkarni
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael S. Tsirkin @ 2025-11-18 23:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: Yishai Hadas, Alex Williamson, Jason Wang, Xuan Zhuo,
	Eugenio Pérez, Alex Williamson, virtualization

UAPI headers really have no business pulling in kernel.h
Drop it - it does not seem to be needed, either.

Fixes: 7c1ae151e812 ("virtio_pci: Introduce device parts access commands")
Cc: "Yishai Hadas" <yishaih@nvidia.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/uapi/linux/virtio_pci.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/uapi/linux/virtio_pci.h b/include/uapi/linux/virtio_pci.h
index c691ac210ce2..d1b31efc4d7d 100644
--- a/include/uapi/linux/virtio_pci.h
+++ b/include/uapi/linux/virtio_pci.h
@@ -40,7 +40,6 @@
 #define _LINUX_VIRTIO_PCI_H
 
 #include <linux/types.h>
-#include <linux/kernel.h>
 
 #ifndef VIRTIO_PCI_NO_LEGACY
 
-- 
MST


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

end of thread, other threads:[~2025-11-19  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 23:08 [PATCH] virtio_pci: drop kernel.h Michael S. Tsirkin
2025-11-19  0:57 ` Chaitanya Kulkarni
2025-11-19  2:51 ` Jason Wang
2025-11-19  5:17 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).