GENMASK(30, 21) should be 0x7fe00000. Fixed this in the comment
in bitops.h.
Signed-off-by: Ayan Kumar Halder <ayankuma@xilinx.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
[Tweak text, to put an end to any further bikeshedding]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
/*
* 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))))