From f9c2adf217730744b6e89e2f74b8827966905c61 Mon Sep 17 00:00:00 2001 From: Konstantin Kostiuk Date: Mon, 9 Dec 2024 16:24:55 +0200 Subject: [PATCH] VirtIO: Fix code style Signed-off-by: Konstantin Kostiuk --- VirtIO/VirtIORing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtIO/VirtIORing.c b/VirtIO/VirtIORing.c index d29469a08..8fe44afca 100644 --- a/VirtIO/VirtIORing.c +++ b/VirtIO/VirtIORing.c @@ -36,7 +36,7 @@ #include "virtio_ring.h" #include "windows\virtio_ring_allocation.h" -#define DESC_INDEX(num, i) ((i) & ((num) - 1)) +#define DESC_INDEX(num, i) ((i) & ((num)-1)) /* This marks a buffer as continuing via the next field. */ #define VIRTQ_DESC_F_NEXT 1