diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2019-05-14 12:21:45 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2019-05-28 10:28:51 +0100 |
| commit | 629a0b065af074a43176968e1e242b87fc3be39f (patch) | |
| tree | af6aceef4d8b491372f5afafd48d76343351aa12 /scripts/qapi/types.py | |
| parent | a131795f4c696083708767a2cb7e1168f73a1690 (diff) | |
| download | focaccia-qemu-629a0b065af074a43176968e1e242b87fc3be39f.tar.gz focaccia-qemu-629a0b065af074a43176968e1e242b87fc3be39f.zip | |
target/arm: correct return values for WRITE/READ in arm-semi
The documentation says the write should return the number of bytes not written on an error (0 means everything was written). Read provides a buffer length and the return value should be the buffer length - bytes actually read. Remove the incorrect FIXME's and return the correct values. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions