x86/boot: Remove superfluous type casting from arch/x86/boot/bitops.h
authorLi kunyu <kunyu@nfschina.com>
Mon, 25 Jul 2022 04:23:58 +0000 (12:23 +0800)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Aug 2022 17:17:43 +0000 (19:17 +0200)
commit039f0e054a29d06970892240d70143150d2aaec2
tree19eebf0efc67a32c1db647f249f02e40100890c5
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
x86/boot: Remove superfluous type casting from arch/x86/boot/bitops.h

'const void *' will auto-type-convert to just about any other const
pointer type, no need to force it.

  [ mingo: Rewrote the changelog. ]

Signed-off-by: Li kunyu <kunyu@nfschina.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220725042358.3377-1-kunyu@nfschina.com
arch/x86/boot/bitops.h