diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 5db7143a17cc..c70b1ba1c6ad 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -1640,8 +1640,8 @@ static int validate_hardware_zoned(struct dm_table *t, bool zoned, return -EINVAL; } - /* Check zone size validity and compatibility */ - if (!zone_sectors || !is_power_of_2(zone_sectors)) + /* Check zone size validity. */ + if (!zone_sectors) return -EINVAL; if (dm_table_any_dev_attr(t, device_not_matches_zone_sectors, &zone_sectors)) {