Skip to contentSkip to conversation

linux-next: build warning after merge of the regulator tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jan 10, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the regulator tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

In file included from drivers/regulator/mpq7920.c:19:
drivers/regulator/mpq7920.c: In function 'mpq7920_parse_cb':
drivers/regulator/mpq7920.c:224:13: warning: conversion from 'long unsigned int' to 'unsigned int' changes value from '18446744073709551551' to '4294967231' [-Woverflow]
224 | BIT(6), ~BIT(6));
include/linux/regmap.h:75:42: note: in definition of macro 'regmap_update_bits'
75 | regmap_update_bits_base(map, reg, mask, val, NULL, false, false)
| ^~~

Introduced by commit

6501c1f54a17 ("regulator: mpq7920: add mpq7920 regulator driver")

Signature · 2 lines
Cheers,
Stephen Rothwell