Re: [PATCH 2/2] 9pfs: simplify blksize_to_iounit()

2021-09-27 Thread Philippe Mathieu-Daudé
On 9/27/21 17:50, Christian Schoenebeck wrote: > Use QEMU_ALIGN_DOWN() macro to reduce code and to make it > more human readable. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Christian Schoenebeck > --- > hw/9pfs/9p.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Revie

Re: [PATCH 2/2] 9pfs: simplify blksize_to_iounit()

2021-09-27 Thread Greg Kurz
On Mon, 27 Sep 2021 17:50:36 +0200 Christian Schoenebeck wrote: > Use QEMU_ALIGN_DOWN() macro to reduce code and to make it > more human readable. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Christian Schoenebeck > --- Reviewed-by: Greg Kurz > hw/9pfs/9p.c | 3 +-- > 1 file c

[PATCH 2/2] 9pfs: simplify blksize_to_iounit()

2021-09-27 Thread Christian Schoenebeck
Use QEMU_ALIGN_DOWN() macro to reduce code and to make it more human readable. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Christian Schoenebeck --- hw/9pfs/9p.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index c65584173a..29cc19c90