Messages in this thread | | | From | Linus Walleij <> | Date | Thu, 30 Nov 2017 10:18:14 +0100 | Subject | Re: [PATCH] leds: pm8058: Make ledtype pointer sized type |
| |
On Thu, Nov 30, 2017 at 4:05 AM, Bjorn Andersson <bjorn.andersson@linaro.org> 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 <linus.walleij@linaro.org> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Thanks for covering my ass. Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |