Skip to contentSkip to conversation

master - cleanup: constify used parameter

PATCH Zdenek Kabelac 1 participant 1 message Jul 20, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b37e4e3f90b005e116b46949d55f95b9d1470f5b
Commit:        b37e4e3f90b005e116b46949d55f95b9d1470f5b
Parent:        e769e3d3bfd5eaccd5a9043b5641bc73550e5528
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jul 19 16:15:15 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jul 20 11:18:29 2017 +0200

cleanup: constify used parameter

---
 libdm/libdm-deptree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libdm/libdm-deptree.c +1 -1
index 6ea710d..cf4fd62 100644
@@ -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;