|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v4 06/12] contrib/vhost-user-*: use QEMU bswap helper functions |
Date: | Wed, 8 May 2024 12:13:37 +0200 |
User-agent: | Mozilla Thunderbird |
On 8/5/24 09:44, Stefano Garzarella wrote:
Let's replace the calls to le*toh() and htole*() with qemu/bswap.h helpers to make the code more portable. Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> --- contrib/vhost-user-blk/vhost-user-blk.c | 9 +++++---- contrib/vhost-user-input/main.c | 16 ++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-)
Thanks, Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |