]> git.baikalelectronics.ru Git - kernel.git/commit
virt: acrn: using for_each_set_bit to simplify the code
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 4 Jul 2022 12:50:44 +0000 (20:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 13:42:10 +0000 (15:42 +0200)
commit0547aea1503f596013d6f52ccb1e35800545d201
treebbeec04e4de5122934b16bd24f8fcabefaff8965
parent0b834c66a3f5a4a108c06c46849c65b2d7b14ed7
virt: acrn: using for_each_set_bit to simplify the code

It's more cleanly to use for_each_set_bit() instead of opencoding it.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Fei Li <fei1.li@intel.com>
Link: https://lore.kernel.org/r/20220704125044.2192381-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/acrn/ioreq.c