linux-next: build warning after merge of the regulator tree
From: Stephen Rothwell
Date: Thu Jan 09 2020 - 21:41:24 EST
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")
--
Cheers,
Stephen Rothwell
Attachment:
pgpe6uuB4KYWm.pgp
Description: OpenPGP digital signature