qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 03/15] qga: Consistently name Error ** object


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v2 03/15] qga: Consistently name Error ** objects errp, and not err
Date: Wed, 30 Apr 2014 08:41:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Michael Roth <address@hidden> writes:

> Quoting Markus Armbruster (2014-04-28 15:27:42)
>> Signed-off-by: Markus Armbruster <address@hidden>
>> Reviewed-by: Eric Blake <address@hidden>
>> ---
>>  qga/commands-posix.c | 10 +++++-----
>>  qga/commands-win32.c | 10 +++++-----
>>  2 files changed, 10 insertions(+), 10 deletions(-)
>> 
>> diff --git a/qga/commands-posix.c b/qga/commands-posix.c
>> index e49c7da..f6af7d1 100644
>> --- a/qga/commands-posix.c
>> +++ b/qga/commands-posix.c
>> @@ -839,14 +839,14 @@ int64_t qmp_guest_fsfreeze_thaw(Error **errp)
>> 
>>  static void guest_fsfreeze_cleanup(void)
>>  {
>> -    Error *errp = NULL;
>> +    Error *err = NULL;
>
> *local_err?
>
> I have it in my head we're doing *err and **errp for function signatures, and
> *local_err for code body, but I missed the previous series so if that's not
> how we did those conversions then nm me.

Perhaps we started with such a rule in mind, but the code doesn't comply
to it now.

I can try to apply the rule in qga/ if you like, just tell me.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]