diff options
| author | Greg Kurz <groug@kaod.org> | 2022-11-24 16:58:38 +0100 |
|---|---|---|
| committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2022-12-23 11:48:13 +0100 |
| commit | ab04d2c5579f706893aa014b04296249a0ae8587 (patch) | |
| tree | d06b07e592daef2c7f4356603fc55fa4d241413f /python/qemu/machine/machine.py | |
| parent | 222059a0fccf4af3be776fe35a5ea2d6a68f9a0b (diff) | |
| download | focaccia-qemu-ab04d2c5579f706893aa014b04296249a0ae8587.tar.gz focaccia-qemu-ab04d2c5579f706893aa014b04296249a0ae8587.zip | |
9pfs: Fix some return statements in the synth backend
The qemu_v9fs_synth_mkdir() and qemu_v9fs_synth_add_file() functions currently return a positive errno value on failure. This causes checkpatch.pl to spit several errors like the one below: ERROR: return of an errno should typically be -ve (return -EAGAIN) + return EAGAIN; Simply change the sign. This has no consequence since callers assert() the returned value to be equal to 0. Reported-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <166930551818.827792.10663674346122681963.stgit@bahia> [C.S.: - Resolve conflict with 66997c42e02c. ] Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions