aboutsummaryrefslogtreecommitdiff
path: root/lib/bug.c
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-03-19 22:00:22 -0400
committerArd Biesheuvel <ardb@kernel.org>2020-04-23 20:15:06 +0200
commit9867fc9de6a6a7a54edb2c43540c6db226e84a14 (patch)
tree5b72b1c7bcc5446d069a8bad42e3bd8b79363b08 /lib/bug.c
parentf1d1853bdbcfb2d00ae0b850baf26d87e6d363d8 (diff)
efi/gop: Use helper macros for find_bits
Use the __ffs/__fls macros to calculate the position and size of the mask. Correct type of mask to u32 instead of unsigned long. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Link: https://lore.kernel.org/r/20200320020028.1936003-9-nivedita@alum.mit.edu Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions