]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubs
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Dec 2025 17:22:36 +0000 (12:22 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Dec 2025 13:02:56 +0000 (08:02 -0500)
commitc53ad75c6236acd22a613fbcde862d3d6d2f8072
treec3c973a5adcce5aa4b8809f162d4291dc5a8ca3b
parent03d768a38cead828963c0e203662b8fa4c1f4d21
tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubs

Add dev_WARN_ONCE and is_vmalloc_addr stubs needed by virtio_ring.c.
is_vmalloc_addr stub always returns false - that's fine since it's
merely a sanity check.

Created using Cursor CLI.

Message-ID: <749e7a03b7cd56baf50a27efc3b05e50cf8f36b6.1764873799.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/linux/kernel.h