Re: [PATCH] regmap: Fix possible shift overflow in regmap_field_init()
From: Mark Brown
Date: Tue Jun 16 2015 - 07:59:06 EST
On Tue, Jun 16, 2015 at 01:53:19PM +0200, Maxime Coquelin wrote:
> The way the mask is generated in regmap_field_init() is wrong.
> Indeed, a field initialized with msb = 31 and lsb = 0 provokes a shift
> overflow while calculating the mask field.
Description: Digital signature