From b37e4e3f90b005e116b46949d55f95b9d1470f5b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 19 Jul 2017 16:15:15 +0200 Subject: [PATCH] cleanup: constify used parameter --- libdm/libdm-deptree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;