On Tue, 2016-01-05 at 18:47 +0100, Jiri Slaby wrote:
> From: Xiaolong Ye <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Kevin Liu <[email protected]>
> Signed-off-by: MyungJoo Ham <[email protected]>
> Cc: Oliver Neukum <[email protected]>
> Signed-off-by: Jiri Slaby <[email protected]>
[...]

This is still needed in longterm branches 3.10 - 4.1 inclusive.  I just
queued it up for 3.16.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to