[PATCH] PM / devfreq: Allocate memory using the right data type

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jul 15 20:33:42 PDT 2014


On Tue, Jul 15, 2014 at 08:10:43PM -0700, Saravana Kannan wrote:
> From: Suman Tatiraju <sumant at codeaurora.org>
> 
> Long and int have different sizes on a 64-bit machine. Allocate
> memory for the time_in_state table using the right data type.
> 
> Change-Id: I335277674018c0ea759aa0996309d52578ea1fd5

Please don't put this crud in patches you submit upstream.  It means
nothing to us.

> Signed-off-by: Suman Tatiraju <sumant at codeaurora.org>
> Reviewed-by: Saravana Kannan <skannan at codeaurora.org>
> Signed-off-by: Saravana Kannan <skannan at codeaurora.org>
> ---
>  drivers/devfreq/devfreq.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>



More information about the linux-arm-kernel mailing list