diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index 6ea710def..cf4fd62e7 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -2365,7 +2365,7 @@ static int _2_if_value(unsigned p) } /* Return number of bits passed in @bits assuming 2 * 64 bit size */ -static int _get_params_count(uint64_t *bits) +static int _get_params_count(const uint64_t *bits) { int r = 0; int i = RAID_BITMAP_SIZE;