From 32b93d4800bf6165708b068e12b63cebb5bdc1fe Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Thu, 18 Aug 2022 09:19:43 -0500 Subject: vppinfra: correct clib_bitmap_set() return comment Fix a copy-n-paste issue that left clib_bitmap_set()'s return type documentation incorrect. Chnage it to indicate that the function returns a new pointer for the bitmap that could be different due to a possible reallocation. Type: docs Signed-off-by: Jon Loeliger Change-Id: Ia193c4673c0e4d1760e91cd7f80ebe1868a3c9b5 --- src/vppinfra/bitmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/bitmap.h') diff --git a/src/vppinfra/bitmap.h b/src/vppinfra/bitmap.h index 02f9c7e55ab..ec3f0a03891 100644 --- a/src/vppinfra/bitmap.h +++ b/src/vppinfra/bitmap.h @@ -178,7 +178,7 @@ clib_bitmap_set_no_check (uword * a, uword i, uword new_value) @param ai - pointer to the bitmap @param i - the bit position to interrogate @param value - new value for the bit - @returns the old value of the bit + @returns the (possibly reallocated) bitmap object pointer */ always_inline uword * clib_bitmap_set (uword * ai, uword i, uword value) -- cgit 1.2.3-korg