[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <537A12DF.2030101@linaro.org>
Date: Mon, 19 May 2014 16:19:11 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Xiubo Li <Li.Xiubo@...escale.com>, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHv2 1/2] clocksource: fix type confusion for clocksource_mmio_readX_Y
On 04/23/2014 04:11 AM, Xiubo Li wrote:
> The types' definations are:
> o cycle_t -> u64
> o readl_relaxed -> u32
> o readw_relaxed -> u16
>
> So let clocksource_mmio_readX_Ys return a cast to cycle_t, though
> this maybe look reduntant sometimes, it make sense and they will be
> more readable and less confusion...
>
> This patch clarifies the functions type and fix it.
>
> Signed-off-by: Xiubo Li <Li.Xiubo@...escale.com>
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> ---
Applied to my tree for 3.16
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists