ivshmem: use common is_power_of_2()
The common version correctly checks for 0 value case. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: NClaudio Fontana <claudio.fontana@huawei.com>
Showing
想要评论请 注册 或 登录
The common version correctly checks for 0 value case. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: NClaudio Fontana <claudio.fontana@huawei.com>