Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753824Ab3F0PZK (ORCPT ); Thu, 27 Jun 2013 11:25:10 -0400 Received: from mail-oa0-f46.google.com ([209.85.219.46]:52139 "EHLO mail-oa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030Ab3F0PZH (ORCPT ); Thu, 27 Jun 2013 11:25:07 -0400 MIME-Version: 1.0 In-Reply-To: <20130627152143.GA5324@jshin-Toonie> References: <51C87ADC.4070409@canonical.com> <20130625161935.GA10208@jshin-Toonie> <20130626142852.GA2326@jshin-Toonie> <20130626175722.GA20226@jshin-Toonie> <20130627145505.GA3076@jshin-Toonie> <20130627152143.GA5324@jshin-Toonie> Date: Thu, 27 Jun 2013 20:55:07 +0530 Message-ID: Subject: Re: od_set_powersave_bias: NULL pointer dereference From: Viresh Kumar To: Jacob Shin Cc: Tim Gardner , "Rafael J. Wysocki" , LKML , cpufreq@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 14 On 27 June 2013 20:51, Jacob Shin wrote: > Sorry I totally missed it, > > I was trying to account for the case when od_set_powersave_bias() is > called while ondemand is not the current governor. And then later > becomes the current governor. So when od_init() is called it will take > the expected default, rather than 0. Ok. leave it as is. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/