Skip to content

fix various gcc4 compile warnings

Andre Przywara qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gcc4 warnings: fix wrong signednessalsaaudio.c block-vvfat.c fdc.c +9 more+56 -530 replies
2/5gcc4 warnings: fix char* signednessblock-vpc.c block-vvfat.c gdbstub.c +2 more+24 -230 replies
3/5gcc4 warnings: qemu_put signedness fixesacpi.c apic.c cirrus_vga.c +11 more+177 -1770 replies
4/5gcc4 warnings: fix bdrv_get_geometry to return uint64_tblock.c block.h fdc.c +3 more+26 -190 replies
5/5gcc4 warnings: miscellaneous minor thingsadlib.c aes.c ide.c +3 more+12 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] fix various gcc4 compile warnings

Hi,

after my first try last week now a reworked version of the patches to fix (gcc4) compiler warnings. These warnings occur when compiling for instance the "embedded" QEmu in Xen.
I splitted the big patch to address several issues separately:
1/5: fix wrong types (wrong signedness)
2/5: fix char* signedness
3/5: qemu_put signedness fixes
4/5: fix bdrv_get_geometry to return uint64_t
5/5: miscellaneous minor things

Compared to my last work post I tried to avoid casting as much as possible, only patch 2/5 still uses them.
Comments welcome.

Regards,
Andre.

Signature · 3 lines
Andre Przywara
AMD-OSRC (Dresden)
Tel: x84917