From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751284AbdAMImN convert rfc822-to-8bit (ORCPT ); Fri, 13 Jan 2017 03:42:13 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:39570 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751222AbdAMImL (ORCPT ); Fri, 13 Jan 2017 03:42:11 -0500 From: Amelie DELAUNAY To: Stephen Rothwell , Alexandre Belloni CC: "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Mathieu Poirier" Subject: RE: linux-next: build warning after merge of the rtc tree Thread-Topic: linux-next: build warning after merge of the rtc tree Thread-Index: AQHSbUuvU8S3Zf2Ab0KjxC5dX0IxgaE2FusQ Date: Fri, 13 Jan 2017 08:42:00 +0000 Message-ID: References: <20170113141809.4784c004@canb.auug.org.au> In-Reply-To: <20170113141809.4784c004@canb.auug.org.au> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.48] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-01-13_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, I'm going to send a patch to fix this warning. Thanks, Regards, Amelie > -----Original Message----- > From: Stephen Rothwell [mailto:sfr@canb.auug.org.au] > Sent: vendredi 13 janvier 2017 04:18 > To: Alexandre Belloni > Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; Amelie > DELAUNAY ; Mathieu Poirier > > Subject: linux-next: build warning after merge of the rtc tree > > Hi Alexandre, > > After merging the rtc tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from drivers/rtc/rtc-stm32.c:14:0: > drivers/rtc/rtc-stm32.c: In function 'stm32_rtc_probe': > drivers/rtc/rtc-stm32.c:653:51: warning: large integer implicitly truncated to > unsigned type [-Woverflow] > regmap_update_bits(rtc->dbp, PWR_CR, PWR_CR_DBP, ~PWR_CR_DBP); > ^ > include/linux/regmap.h:73:42: note: in definition of macro > 'regmap_update_bits' > regmap_update_bits_base(map, reg, mask, val, NULL, false, false) > ^ > drivers/rtc/rtc-stm32.c: In function 'stm32_rtc_remove': > drivers/rtc/rtc-stm32.c:675:51: warning: large integer implicitly truncated to > unsigned type [-Woverflow] > regmap_update_bits(rtc->dbp, PWR_CR, PWR_CR_DBP, ~PWR_CR_DBP); > ^ > include/linux/regmap.h:73:42: note: in definition of macro > 'regmap_update_bits' > regmap_update_bits_base(map, reg, mask, val, NULL, false, false) > ^ > > Introduced by commit > > 4e64350f42e2 ("rtc: add STM32 RTC driver") > > -- > Cheers, > Stephen Rothwell