From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wtarreau.pck.nerim.net ([62.212.114.60]:61414 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934305AbcKLEMZ (ORCPT ); Fri, 11 Nov 2016 23:12:25 -0500 Date: Sat, 12 Nov 2016 05:11:58 +0100 From: Willy Tarreau To: Ben Hutchings Cc: Jiri Slaby , Greg Kroah-Hartman , Alexander Levin , linux-kernel@vger.kernel.org, Xiaolong Ye , Kevin Liu , MyungJoo Ham , Oliver Neukum , stable@vger.kernel.org Subject: Re: [PATCH 3.12 89/91] PM / devfreq: Fix incorrect type issue. Message-ID: <20161112041158.GA29306@1wt.eu> References: <1478919743.2622.18.camel@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1478919743.2622.18.camel@decadent.org.uk> Sender: stable-owner@vger.kernel.org List-ID: 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 > > > > 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 > > Signed-off-by: Kevin Liu > > Signed-off-by: MyungJoo Ham > > Cc: Oliver Neukum > > Signed-off-by: Jiri Slaby > [...] > > 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