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

2014-07-16 Thread Stephen Boyd
On 07/15/14 20:10, Saravana Kannan wrote: > diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c > index 65eed38..349e28ea 100644 > --- a/drivers/devfreq/devfreq.c > +++ b/drivers/devfreq/devfreq.c > @@ -483,9 +483,10 @@ struct devfreq *devfreq_add_device(struct device *dev, >

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

2014-07-16 Thread Stephen Boyd
On 07/15/14 20:10, Saravana Kannan wrote: diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 65eed38..349e28ea 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -483,9 +483,10 @@ struct devfreq *devfreq_add_device(struct device *dev,

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

2014-07-15 Thread Greg Kroah-Hartman
On Tue, Jul 15, 2014 at 08:10:43PM -0700, Saravana Kannan wrote: > From: Suman Tatiraju > > 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

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

2014-07-15 Thread Saravana Kannan
From: Suman Tatiraju 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 Signed-off-by: Suman Tatiraju Reviewed-by: Saravana Kannan Signed-off-by: Saravana Kannan

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

2014-07-15 Thread Saravana Kannan
From: Suman Tatiraju sum...@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 Signed-off-by: Suman Tatiraju sum...@codeaurora.org Reviewed-by: Saravana

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

2014-07-15 Thread Greg Kroah-Hartman
On Tue, Jul 15, 2014 at 08:10:43PM -0700, Saravana Kannan wrote: From: Suman Tatiraju sum...@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