[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 00/14] gcc extra warning fixes v2
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] Re: [PATCH 00/14] gcc extra warning fixes v2 |
Date: |
Tue, 31 Aug 2010 09:48:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100720 Fedora/3.0.6-1.fc12 Thunderbird/3.0.6 |
Am 30.08.2010 17:59, schrieb address@hidden:
> From: Jes Sorensen <address@hidden>
>
> Hi,
>
> I started building QEMU with some more aggressive error flags to see
> what dropped out. I started fixing up some of the cases, removing
> unused arguments to functions, comparisons of unsigned types against
> negative values etc. and a few other minor changes to avoid compiler
> warnings.
>
> v2 fixes the vnc change as pointed out by Anthony.
>
> Set of 14 patches following.
>
> Cheers,
> Jes
>
> Jes Sorensen (14):
> Remove unused argument for nbd_client()
> Respect return value from nbd_client()
> Fix repeated typo: was "end if list" instead of "end of list"
> Zero initialize timespec struct explicitly
> Remove unused argument for check_for_block_signature()
> Remove unused argument for encrypt_sectors()
> Remove unused argument for get_whole_cluster()
> Remove unused argument for qcow2_encrypt_sectors()
> Remove unused arguments for add_aio_request() and free_aio_req()
> Zero json struct with memset() instea of = {} to keep compiler happy.
> Remove unused function arguments
> size_t is unsigned, change to ssize_t to handle errors from
> tight_compress_data()
> Change DPRINTF() to do{}while(0) to avoid compiler warning
> load_multiboot(): get_image_size() returns int
For the block related ones:
Acked-by: Kevin Wolf <address@hidden>
- [Qemu-devel] [PATCH 09/14] Remove unused arguments for add_aio_request() and free_aio_req(), (continued)
- [Qemu-devel] [PATCH 09/14] Remove unused arguments for add_aio_request() and free_aio_req(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 01/14] Remove unused argument for nbd_client(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 03/14] Fix repeated typo: was "end if list" instead of "end of list", Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 12/14] size_t is unsigned, change to ssize_t to handle errors from tight_compress_data(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 07/14] Remove unused argument for get_whole_cluster(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 06/14] Remove unused argument for encrypt_sectors(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 04/14] Zero initialize timespec struct explicitly, Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 08/14] Remove unused argument for qcow2_encrypt_sectors(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 02/14] Respect return value from nbd_client(), Jes . Sorensen, 2010/08/30
- [Qemu-devel] [PATCH 14/14] load_multiboot(): get_image_size() returns int, Jes . Sorensen, 2010/08/30
- [Qemu-devel] Re: [PATCH 00/14] gcc extra warning fixes v2,
Kevin Wolf <=