Skip to content

Commit dfdc444

Browse files
Dimitris Papastamosbroonie
authored andcommitted
regmap: Fix signed/unsigned comparison
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 25ed115 commit dfdc444

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/base/regmap/regcache-indexed.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static int regcache_indexed_write(struct regmap *map, unsigned int reg,
4141

4242
static int regcache_indexed_sync(struct regmap *map)
4343
{
44-
int i;
44+
unsigned int i;
4545
int ret;
4646

4747
for (i = 0; i < map->num_reg_defaults; i++) {

0 commit comments

Comments
 (0)