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

From: Greg Kroah-Hartman
Date: Tue Jul 15 2014 - 23:29:14 EST

On Tue, Jul 15, 2014 at 08:10:43PM -0700, Saravana Kannan wrote:
> From: Suman Tatiraju <sumant@xxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxx>
> Reviewed-by: Saravana Kannan <skannan@xxxxxxxxxxxxxx>
> Signed-off-by: Saravana Kannan <skannan@xxxxxxxxxxxxxx>
> ---
> drivers/devfreq/devfreq.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)


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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at