Compiler warning fixes for libvhost-user,libvduse
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest12 patches 5 repliesIn review
- v310 patches 4 repliesSuperseded
- v210 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 0 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMUsubprojects/ | +4 | 0 replies | |
| 2/12 | libvhost-user: Replace typeof with __typeof__subprojects/ | +2 | 0 replies | |
| 3/12 | libvhost-user: Cast rc variable to avoid compiler warningsubprojects/ | +1 | 0 replies | |
| 4/12 | libvhost-user: Use unsigned int i for some for-loop iterationssubprojects/ | +7 | 0 replies | |
| 5/12 | libvhost-user: Declare uffdio_register early to make it C90 compliantsubprojects/ | +3 | 0 replies | |
| 6/12 | libvhost-user: Change dev->postcopy_ufd assignment to make it C90 compliantsubprojects/ | +2 | 0 replies | |
| 7/12 | libvduse: Provide _GNU_SOURCE when compiling outside of QEMUsubprojects/ | +4 | 0 replies | |
| 8/12 | libvduse: Switch to unsigned int for inuse field in struct VduseVirtqsubprojects/ | +1 | 0 replies | |
| 9/12 | libvduse: Fix assignment in vring_set_avail_eventsubprojects/ | +2 | 0 replies | |
| 10/12 | libvhost-user: Fix assignment in vring_set_avail_eventsubprojects/ | +2 | 0 replies | |
| 11/12 | libvhost-user: Add extra compiler warningssubprojects/ | +7 | 0 replies | |
| 12/12 | libvduse: Add extra compiler warningssubprojects/ | +7 | 0 replies |
Reviews trailers per patch
4 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Xie Yongji | Philippe Mathieu-Daudé | Michael S. Tsirkin |
|---|---|---|---|
| Series | R-b | ||
| 1/12 | |||
| 2/12 | R-b | ||
| 3/12 | |||
| 4/12 | |||
| 5/12 | R-b | ||
| 6/12 | R-b | ||
| 7/12 | |||
| 8/12 | R-b | ||
| 9/12 | |||
| 10/12 | |||
| 11/12 | |||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 00/12] Compiler warning fixes for libvhost-user,libvduse
The libvhost-user and libvduse libraries are also useful for external usage outside of QEMU and thus it would be nice if their files could be just copied and used. However due to different compiler settings, a lot of manual fixups are needed. This is the first attempt at some obvious fixes that can be done without any harm to the code and its readability.
Marcel Holtmann (12):
libvhost-user: Provide _GNU_SOURCE when compiling outside of QEMU
libvhost-user: Replace typeof with __typeof__
libvhost-user: Cast rc variable to avoid compiler warning
libvhost-user: Use unsigned int i for some for-loop iterations
libvhost-user: Declare uffdio_register early to make it C90 compliant
libvhost-user: Change dev->postcopy_ufd assignment to make it C90 compliant
libvduse: Provide _GNU_SOURCE when compiling outside of QEMU
libvduse: Switch to unsigned int for inuse field in struct VduseVirtq
libvduse: Fix assignment in vring_set_avail_event
libvhost-user: Fix assignment in vring_set_avail_event
libvhost-user: Add extra compiler warnings
libvduse: Add extra compiler warnings
subprojects/libvduse/libvduse.c | 9 ++++-- subprojects/libvduse/meson.build | 8 ++++- subprojects/libvhost-user/libvhost-user.c | 36 +++++++++++++---------- subprojects/libvhost-user/meson.build | 8 ++++- 4 files changed, 42 insertions(+), 19 deletions(-)
Signature · 1 line
2.38.1