]> git.ipfire.org Git - people/arne_f/kernel.git/commit
soc: mediatek: pwrap: fix compiler errors
authorMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:10:34 +0000 (10:10 +0100)
commit48185ffb6dc3eb64846039117d76148d3e3d7022
tree93feccfd8d27ac53b1965e11b0ebe0af798940c8
parent9cd01922985ce5c00cf050f12daef304cc452761
soc: mediatek: pwrap: fix compiler errors

[ Upstream commit fb2c1934f30577756e55e24e8870b45c78da3bc2 ]

When compiling using sparse, we got the following error:
drivers/soc/mediatek/mtk-pmic-wrap.c:686:25: error: dubious one-bit signed bitfield

Changing the data type to unsigned fixes this.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/mediatek/mtk-pmic-wrap.c