[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/14] Trivial cleanups around error reporting
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 00/14] Trivial cleanups around error reporting |
Date: |
Fri, 21 Apr 2017 09:45:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
On 04/21/2017 07:26 AM, Fam Zheng wrote:
> These are patches to:
>
> 1) reorder the function parameters so that Error **errp comes
> last.
>
> Error pointer in the middle of a function parameter list is very uncommon, and
> does caused mistakes, thus is not a good style. Change to the usual way.
>
> 2) apply the error_propagate_null.cocci semantics patch again.
>
> Fam Zheng (14):
> socket: Make errp the last parameter of socket_connect
> socket: Make errp the last parameter of inet_connect_saddr
> socket: Make errp the last parameter of unix_connect_saddr
> socket: Make errp the last parameter of vsock_connect_saddr
> block: Make errp the last parameter of bdrv_img_create
> crypto: Make errp the last parameter of functions
> mirror: Make errp the last parameter of mirror_start_job
> block: Make errp the last parameter of commit_active_start
> nfs: Make errp the last parameter of nfs_client_open
> fdc: Make errp the last parameter of fdctrl_connect_drives
> scsi: Make errp the last parameter of virtio_scsi_common_realize
> migration: Make errp the last parameter of local functions
> qga: Make errp the last parameter of qga_vss_fsfreeze
> error: Apply error_propagate_null.cocci again
Series:
Reviewed-by: Eric Blake <address@hidden>
but you have a typo in the commit message of 6/14
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 06/14] crypto: Make errp the last parameter of functions, (continued)
- [Qemu-devel] [PATCH 06/14] crypto: Make errp the last parameter of functions, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 07/14] mirror: Make errp the last parameter of mirror_start_job, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 08/14] block: Make errp the last parameter of commit_active_start, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 09/14] nfs: Make errp the last parameter of nfs_client_open, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 11/14] scsi: Make errp the last parameter of virtio_scsi_common_realize, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 10/14] fdc: Make errp the last parameter of fdctrl_connect_drives, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 12/14] migration: Make errp the last parameter of local functions, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 13/14] qga: Make errp the last parameter of qga_vss_fsfreeze, Fam Zheng, 2017/04/21
- [Qemu-devel] [PATCH 14/14] error: Apply error_propagate_null.cocci again, Fam Zheng, 2017/04/21
- Re: [Qemu-devel] [PATCH 00/14] Trivial cleanups around error reporting,
Eric Blake <=
- Re: [Qemu-devel] [PATCH 00/14] Trivial cleanups around error reporting, Markus Armbruster, 2017/04/22
- Re: [Qemu-devel] [PATCH 00/14] Trivial cleanups around error reporting, Markus Armbruster, 2017/04/24