aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/documentation-file-ref-check
diff options
context:
space:
mode:
authorShaoqin Huang <shaoqin.huang@intel.com>2022-10-20 23:27:34 -0700
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 05:28:09 -0500
commitb9d978a89296c57fbbbd8ea647c303ce4d37028f (patch)
tree8c65295579a9c92e5d5e816b4c9a56ef468aed69 /scripts/documentation-file-ref-check
parentvirtio_pci: use helper function is_power_of_2() (diff)
downloadlinux-rng-b9d978a89296c57fbbbd8ea647c303ce4d37028f.tar.xz
linux-rng-b9d978a89296c57fbbbd8ea647c303ce4d37028f.zip
virtio_ring: 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-3-shaoqin.huang@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions