diff options
| author | Johannes Berg <[email protected]> | 2020-12-15 10:52:22 +0100 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2021-02-12 21:21:52 +0100 |
| commit | 10c2b5aeb21c439251e5e828bf1362f89ab3de49 (patch) | |
| tree | ab647ac4c3ec4259c6c702664c5f822ae7672fa9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | 74e919d2307d9014400c818b82e752c623a4da94 (diff) | |
um: virtio: fix handling of messages without payload
If we have a message without payload, we call full_read() with
len set to 0, which causes it to return -ECONNRESET. Catch this
case and explicitly return 0 for it so we can actually use the
zero-size config-changed message.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions