Skip to content

Commit

Permalink
VirtIO: Fix code style
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 authored and YanVugenfirer committed Dec 11, 2024
1 parent d4950af commit 056e4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VirtIO/VirtIORing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 056e4e8

Please sign in to comment.