misc set of fixes for warnings under GCC 9
Status from this message: Applied to my trivial-patches branch.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Dropped patches mistakenly included due to not correctly rebasing
- Dropped s390x patches already merged
- Dropped usb-mtp patches which need much more work to be correctly handling untrustworthy guest data.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | linux-user: avoid string truncation warnings in uname field copyinglinux-user/ | +1 | 1 reply | |
| 2/5 | linux-user: avoid string truncation warnings in elf field copyinglinux-user/ | +4 | 1 reply | |
| 3/5 | sockets: avoid string truncation warnings when copying UNIX pathutil/ | +8 | 3 replies | |
| 4/5 | hw/usb: avoid format truncation warning when formatting port namehw/ | +2 | 1 reply | |
| 5/5 | qxl: avoid unaligned pointer reads/writeshw/ | +24 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/5] misc set of fixes for warnings under GCC 9
This series addresses all the warnings I see when building on Fedora 30 x86_64 with GCC 9 (gcc-9.0.1-0.10.fc30.x86_64).
Changed in v2:
- Dropped patches mistakenly included due to not correctly rebasing
- Dropped s390x patches already merged
- Dropped usb-mtp patches which need much more work to be correctly handling untrustworthy guest data.
Daniel P. Berrangé (5):
linux-user: avoid string truncation warnings in uname field copying
linux-user: avoid string truncation warnings in elf field copying
sockets: avoid string truncation warnings when copying UNIX path hw/usb: avoid format truncation warning when formatting port name
qxl: avoid unaligned pointer reads/writes
hw/display/qxl.c | 55 +++++++++++++++++++------------------------- hw/usb/hcd-xhci.c | 2 ++ linux-user/elfload.c | 10 ++++---- linux-user/uname.c | 2 +- util/qemu-sockets.c | 12 ++++++---- 5 files changed, 39 insertions(+), 42 deletions(-)
Signature · 1 line
2.20.1