There already is a spdk_u32_is_pow2() function that handles uint32_t. Add a spdk_u64_is_pow2() function that handles uint64_t. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: Idc96680dbe280d1510aba94a6900eff64ccb4f03 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10179 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |