From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH] leds: pm8058: Make ledtype pointer sized type Date: Thu, 30 Nov 2017 09:41:47 +0000 Message-ID: <20171130094147.5c42ioeoqnujulox@dell> References: <20171130113516.42c8bde2@canb.auug.org.au> <20171130030543.1071-1-bjorn.andersson@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-leds-owner@vger.kernel.org To: Linus Walleij Cc: Bjorn Andersson , Richard Purdie , Jacek Anaszewski , Pavel Machek , linux-leds@vger.kernel.org, "linux-kernel@vger.kernel.org" , Stephen Rothwell , Linux-Next Mailing List List-Id: linux-next.vger.kernel.org On Thu, 30 Nov 2017, Linus Walleij wrote: > On Thu, Nov 30, 2017 at 4:05 AM, Bjorn Andersson > wrote: > > > The pointer returned by of_device_get_match_data() doesn't have the same > > size as u32 on 64-bit architectures, causing issues when compile testing > > the driver on such platform. Make ledtype unsigned long instead, to > > solve this problem. > > > > Fixes: 7f866986e705 ("leds: add PM8058 LEDs driver") > > Cc: Linus Walleij > > Signed-off-by: Bjorn Andersson > > Thanks for covering my ass. :D > Reviewed-by: Linus Walleij I still need a LED Ack if I'm going to take this. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog