aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorShaoqin Huang <[email protected]>2022-10-20 23:27:33 -0700
committerMichael S. Tsirkin <[email protected]>2022-12-28 05:28:09 -0500
commit344686136d73501a18a9621de690ff7824a3d129 (patch)
tree0395b23205142f6e9dd4de7429c757df130096b9 /scripts/gdb/linux/proc.py
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Xuan Zhuo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions