1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-11-11 23:22:05 +03:00

cleanup: constify used parameter

This commit is contained in:
Zdenek Kabelac 2017-07-19 16:15:15 +02:00
parent e769e3d3bf
commit b37e4e3f90

View File

@ -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;