From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752143AbdK3I3q (ORCPT ); Thu, 30 Nov 2017 03:29:46 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34656 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751897AbdK3I3o (ORCPT ); Thu, 30 Nov 2017 03:29:44 -0500 X-Google-Smtp-Source: AGs4zMbvG9tIAVmA7nSpsbbXgO3/xQYXHhDHVx5sRNUiOZLmXRgpbFj2BEHiPNZCMUu9/GsNUcEuJg== Date: Thu, 30 Nov 2017 08:29:40 +0000 From: Lee Jones To: Bjorn Andersson Cc: Richard Purdie , Jacek Anaszewski , Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij , Stephen Rothwell , Linux-Next Mailing List Subject: Re: [PATCH] leds: pm8058: Make ledtype pointer sized type Message-ID: <20171130082940.5mzslaxv53dlu3t2@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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171130030543.1071-1-bjorn.andersson@linaro.org> 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 Wed, 29 Nov 2017, 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 > --- > drivers/leds/leds-pm8058.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Hi Bjorn, (Nice to see you) :) I'm going to apply this *before* Linus' fix. Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog