From: Ayan Kumar Halder Date: Tue, 30 Nov 2021 18:12:38 +0000 (+0000) Subject: bitops: Fix incorrect value in comment X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1293 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eb41074692094dff1413efb44fa4928a9140aa41;p=xen.git bitops: Fix incorrect value in comment GENMASK(30, 21) should be 0x7fe00000. Fixed this in the comment in bitops.h. Signed-off-by: Ayan Kumar Halder Acked-by: Andrew Cooper [Tweak text, to put an end to any further bikeshedding] Signed-off-by: Andrew Cooper --- diff --git a/xen/include/xen/bitops.h b/xen/include/xen/bitops.h index a64595f68e..33619a0873 100644 --- a/xen/include/xen/bitops.h +++ b/xen/include/xen/bitops.h @@ -4,8 +4,7 @@ /* * Create a contiguous bitmask starting at bit position @l and ending at - * position @h. For example - * GENMASK(30, 21) gives us the 32bit vector 0x01fe00000. + * position @h. For example GENMASK(30, 21) gives us 0x7fe00000ul. */ #define GENMASK(h, l) \ (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))