From 3e647c0d3b3506b8160b37748108ba3fbd7cb632 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 2 Dec 2020 11:38:52 +0000 Subject: rename VFU_REG_FLAG_* (#145) We renamed other code to be "REGION" instead of "REG" so it's less ambiguous. Do the same for VFU_REG_FLAG_*. Signed-off-by: John Levon Reviewed-by: Swapnil Ingle --- lib/private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private.h') diff --git a/lib/private.h b/lib/private.h index dfe8b85..0c4878c 100644 --- a/lib/private.h +++ b/lib/private.h @@ -75,7 +75,7 @@ struct vfu_sparse_mmap_areas { typedef struct { /* - * Region flags, see VFU_REG_FLAG_XXX above. + * Region flags, see VFU_REGION_FLAG_READ and friends. */ uint32_t flags; @@ -93,7 +93,7 @@ typedef struct { /* * Callback function that is called when the region is memory mapped. - * Required if VFU_REG_FLAG_MEM is set, otherwise ignored. + * Required if VFU_REGION_FLAG_MEM is set, otherwise ignored. */ vfu_map_region_cb_t *map; struct vfu_sparse_mmap_areas *mmap_areas; /* sparse mmap areas */ -- cgit v1.1