aboutsummaryrefslogtreecommitdiff
path: root/Documentation/mm
diff options
context:
space:
mode:
authorShaoqin Huang <shaoqin.huang@intel.com>2022-10-20 23:27:33 -0700
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 05:28:09 -0500
commit344686136d73501a18a9621de690ff7824a3d129 (patch)
tree0395b23205142f6e9dd4de7429c757df130096b9 /Documentation/mm
parent38fc462f57ef4e5dc722bab6824854b105de8aa2 (diff)
virtio_pci: use helper function is_power_of_2()
Use helper function is_power_of_2() to check if num is power of two. Minor readability improvement. Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com> Message-Id: <20221021062734.228881-2-shaoqin.huang@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Diffstat (limited to 'Documentation/mm')
0 files changed, 0 insertions, 0 deletions