From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144AbdAMPws (ORCPT ); Fri, 13 Jan 2017 10:52:48 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:47730 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbdAMPwr (ORCPT ); Fri, 13 Jan 2017 10:52:47 -0500 Date: Fri, 13 Jan 2017 15:52:29 +0000 From: Russell King - ARM Linux To: Arnd Bergmann Cc: Alexandre Belloni , Alessandro Zummo , Amelie Delaunay , Alexandre Torgue , Mathieu Poirier , linux-kernel@vger.kernel.org, Mark Brown , Maxime Coquelin , rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/3] rtc: stm32: use 32-bit cast for BIT() macro Message-ID: <20170113155229.GS14217@n2100.armlinux.org.uk> References: <20170113153311.2611510-1-arnd@arndb.de> <20170113153311.2611510-3-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170113153311.2611510-3-arnd@arndb.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.