From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750995AbdAMDSO (ORCPT ); Thu, 12 Jan 2017 22:18:14 -0500 Received: from ozlabs.org ([103.22.144.67]:48147 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbdAMDSN (ORCPT ); Thu, 12 Jan 2017 22:18:13 -0500 Date: Fri, 13 Jan 2017 14:18:09 +1100 From: Stephen Rothwell 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 Message-ID: <20170113141809.4784c004@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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