tools/virtio: fix the build and the posix_memalign() checks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools/virtio: add a shim for linux/device-id/virtio.htools/ | +2 | 0 replies | |
| 2/2 | tools/virtio: check posix_memalign() for failuretools/ tools/ tools/ | +4 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Eugenio Pérez |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] tools/virtio: fix the build and the posix_memalign() checks
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
Signature · 1 line
2.47.3