[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH v3 00/13] nbd minimal structured re
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH v3 00/13] nbd minimal structured read |
Date: |
Thu, 12 Oct 2017 08:28:29 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 10/12/2017 06:15 AM, Vladimir Sementsov-Ogievskiy wrote:
> This is a code movement, no changes.
>
>> Checking PATCH 11/13: nbd: share some nbd entities to be reused in
>> block/nbd-client.c...
>> ERROR: return of an errno should typically be -ve (return -EPERM)
>> #46: FILE: include/block/nbd.h:206:
>> + return EPERM;
Indeed. We could avoid the false positive by doing:
case ...:
ret = EPERM;
break;
...
return ret;
to hide the positive errno value, but I'm also fine ignoring checkpatch
on this one.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-block] [PATCH v3 09/13] nbd: Minimal structured read for server, (continued)
[Qemu-block] [PATCH v3 04/13] nbd/server: structurize simple reply header sending, Vladimir Sementsov-Ogievskiy, 2017/10/12
Re: [Qemu-block] [Qemu-devel] [PATCH v3 00/13] nbd minimal structured read, no-reply, 2017/10/12
Re: [Qemu-block] [PATCH v3 00/13] nbd minimal structured read, Eric Blake, 2017/10/12