mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] tools/virtio: fix the build and the posix_memalign() checks
@ 2026-10-20  3:29 Liam R. Howlett (Google)
  2026-10-20  3:29 ` [PATCH 1/2] tools/virtio: add a shim for linux/device-id/virtio.h Liam R. Howlett (Google)
  2026-10-20  3:29 ` [PATCH 2/2] tools/virtio: check posix_memalign() for failure Liam R. Howlett (Google)
  0 siblings, 2 replies; 3+ messages in thread
From: Liam R. Howlett (Google) @ 2026-10-20  3:29 UTC (permalink / raw)
  To: Michael S . Tsirkin, Jason Wang, Eugenio Pérez
  Cc: Xuan Zhuo, Uwe Kleine-König, virtualization, linux-kernel,
	Liam R. Howlett (Google)

Working on other tools, I came across the fact that posix_memalign()'s
return is not the standard negative error.  Scanning the git repo, I
came across the virtio issue with the return.  Testing turned out the be
broke as well, so there's a patch to fix testing prior to fixing the
caller.

Liam R. Howlett (Google) (2):
  tools/virtio: add a shim for linux/device-id/virtio.h
  tools/virtio: check posix_memalign() for failure

 tools/virtio/linux/device-id/virtio.h | 2 ++
 tools/virtio/linux/kernel.h           | 3 ++-
 tools/virtio/vhost_net_test.c         | 2 +-
 tools/virtio/virtio_test.c            | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 tools/virtio/linux/device-id/virtio.h

-- 
2.47.3


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

end of thread, other threads:[~2026-10-20  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20  3:29 [PATCH 0/2] tools/virtio: fix the build and the posix_memalign() checks Liam R. Howlett (Google)
2026-10-20  3:29 ` [PATCH 1/2] tools/virtio: add a shim for linux/device-id/virtio.h Liam R. Howlett (Google)
2026-10-20  3:29 ` [PATCH 2/2] tools/virtio: check posix_memalign() for failure Liam R. Howlett (Google)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®