Re: [PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro

From: Russell King - ARM Linux
Date: Fri Jan 13 2017 - 10:52:50 EST


On Fri, Jan 13, 2017 at 04:32:53PM +0100, Arnd Bergmann wrote:
> -#define PWR_CR_DBP BIT(8)
> +#define PWR_CR_DBP (u32)BIT(8)

Shouldn't that have parens around it as it's no longer a simple expression.

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.