Re: [PATCH 3.12 89/91] PM / devfreq: Fix incorrect type issue.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 12, 2016 at 03:02:23AM +0000, Ben Hutchings wrote:
> On Tue, 2016-01-05 at 18:47 +0100, Jiri Slaby wrote:
> > From: Xiaolong Ye <yexl@xxxxxxxxxxx>
> > 
> > 3.12-stable review patch.  If anyone has any objections, please let
> > me know.
> > 
> > ===============
> > 
> > commit 5f25f066f75a67835abb5e400471a27abd09395b upstream.
> > 
> > time_in_state in struct devfreq is defined as unsigned long, so
> > devm_kzalloc should use sizeof(unsigned long) as argument instead
> > of sizeof(unsigned int), otherwise it will cause unexpected result
> > in 64bit system.
> > 
> > Signed-off-by: Xiaolong Ye <yexl@xxxxxxxxxxx>
> > Signed-off-by: Kevin Liu <kliu5@xxxxxxxxxxx>
> > Signed-off-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> > Cc: Oliver Neukum <ONeukum@xxxxxxxx>
> > Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
> [...]
> 
> This is still needed in longterm branches 3.10 - 4.1 inclusive.  I just
> queued it up for 3.16.

now queued up for 3.10, thanks Ben for letting me know.

Willy
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]