From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752034AbdK3I2j (ORCPT ); Thu, 30 Nov 2017 03:28:39 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:39315 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902AbdK3I2h (ORCPT ); Thu, 30 Nov 2017 03:28:37 -0500 X-Google-Smtp-Source: AGs4zMZuivKhHb7pB1Ir8kZjImtSpR+7shWa7EmzU6HRnI5kyaeBDNWLcYqeVk0wamumgTqo5JgNqA== Date: Thu, 30 Nov 2017 08:28:33 +0000 From: Lee Jones To: Stephen Rothwell Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Linus Walleij , Jacek Anaszewski , Bjorn Andersson Subject: Re: linux-next: build warning after merge of the mfd tree Message-ID: <20171130082833.uxs7gnlmurwopigh@dell> References: <20171130113516.42c8bde2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171130113516.42c8bde2@canb.auug.org.au> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Nov 2017, Stephen Rothwell wrote: > Hi Lee, > > After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/leds/leds-pm8058.c: In function 'pm8058_led_probe': > drivers/leds/leds-pm8058.c:109:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > led->ledtype = (u32)of_device_get_match_data(&pdev->dev); Linuuuuusssssss ... Please fix. I'm happy to squash. > Exposed by commit > > deed10c2d603 ("mfd: pm8xxx: Make elegible for COMPILE_TEST") > > CONFIG_LEDS_PM8058 depends on CONFIG_MFD_PM8XXX which is now turned on > by allmodconfig. > > The actual problematic commit is: > > 7f866986e705 ("leds: add PM8058 LEDs driver") > > from v4.9-rc1. > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog