Messages in this thread | | | Date | Fri, 21 Oct 2022 10:47:59 +0200 | Subject | Re: [PATCH 1/2] virtio_pci: use helper function is_power_of_2() | From | Philippe Mathieu-Daudé <> |
| |
On 21/10/22 08:27, shaoqin.huang@intel.com wrote: > From: Shaoqin Huang <shaoqin.huang@intel.com> > > 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> > --- > drivers/virtio/virtio_pci_modern.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
| |