Skip to content

Commit

Permalink
types.h: remove whitespaces
Browse files Browse the repository at this point in the history
Cut-and-pasting it from /usr/include/linux/bits.h ended adding
unwanted whitespaces. Remove those.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Jul 18, 2024
1 parent 2ff9c3e commit 6a91e2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@
__is_constexpr((l) > (h)), (l) > (h), 0)))

#define __GENMASK(h, l) \
(((~_UL(0)) - (_UL(1) << (l)) + 1) & \
(~_UL(0) >> (__BITS_PER_LONG - 1 - (h))))
(((~_UL(0)) - (_UL(1) << (l)) + 1) & \
(~_UL(0) >> (__BITS_PER_LONG - 1 - (h))))

#define __GENMASK_ULL(h, l) \
(((~_ULL(0)) - (_ULL(1) << (l)) + 1) & \
(~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h))))
(((~_ULL(0)) - (_ULL(1) << (l)) + 1) & \
(~_ULL(0) >> (__BITS_PER_LONG_LONG - 1 - (h))))

#define GENMASK(h, l) \
(GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
Expand Down

0 comments on commit 6a91e2b

Please sign in to comment.