aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/documentation-file-ref-check
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 /scripts/documentation-file-ref-check
parentvdpa/mlx5: Avoid overwriting CVQ iotlb (diff)
downloadlinux-rng-344686136d73501a18a9621de690ff7824a3d129.tar.xz
linux-rng-344686136d73501a18a9621de690ff7824a3d129.zip
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 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions