Re: [patch] regulator: max77686: fix a shift wrapping bug
From: Krzysztof Kozlowski
Date: Fri May 15 2015 - 06:12:30 EST
2015-05-15 18:25 GMT+09:00 Dan Carpenter <dan.carpenter@xxxxxxxxxx>:
> We need to be able to handle more than 32 bits here because "id" can go
> up to MAX77686_BUCK9 (34). ->gpio_enabled is a u64 so that's fine
> already.
>
> Fixes: 3307e9025d29 ('regulator: max77686: Add GPIO control')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Could you add "Cc: <stable@xxxxxxxxxxxxxxx>" please?
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/