Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1400473
| Path | csiph.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Viresh Kumar <viresh.kumar@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails |
| Date | Fri, 13 May 2016 05:20:01 +0200 |
| Message-ID | <rybNT-2U0-5@gated-at.bofh.it> (permalink) |
| References | <rxYH0-6wa-15@gated-at.bofh.it> <rxYH0-6wa-13@gated-at.bofh.it> |
| X-Original-To | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cq2wobpf5MHfK7sPpL0gRyKi5P62BaePWIB1bVsfPK8=; b=JPJuz3C4a65AVF3saa9MwySmWFjrl/5Z2ZJ5t03hGdhEH+fGbaY9Fx8V3uKfcoacDR MieQaxSQt2QzNtygxNT5qeuMgMfgUo9yaUcH46HvOGyoYwcAcXdnrGZ3ON0ia7WwpjAD FOUh9ILK6Wzxt+64vomP9w2cBkewUcpmWQY+Y= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cq2wobpf5MHfK7sPpL0gRyKi5P62BaePWIB1bVsfPK8=; b=QULat2kRSTmhus6cVukSZolIIS0+T7e2s2vEWSDnPrmyq9tHyFJZoUiGrrtdM3/tvk RyXxooG2UrobK+DHOMF8AQrh3VckmFOn2g9LyAWBTL8+etfX/NnQAtrf5W/3ktrQJb8C uIuiHhqIpFt2YOQ3RVWGhTZIdF0aZpOO7Yrj0trX8s3xj4jBZCrEXXY9V3gbkDinDJyv bQ1SwGdzpcWFsK55WXnWXWMLIjcTmkFtdvA9QNU8t947s6U66+26amRbC36GvubZHsip qZFeZpSSbWuJF7Cv2ZPWSCnColna52pX+tgoOXiUoRhfCsQK1DJzGQVTd5wliZiBiKB5 Tekg== |
| X-Gm-Message-State | AOPr4FUZnuUUpeAR2Jk8v9KQTbkxqqD5/j1rJEVR0pFVbiuw+6sX1HEV7bHL73VmCCNZTuem |
| X-Received | by 10.66.172.238 with SMTP id bf14mr10412125pac.153.1463109258828; Thu, 12 May 2016 20:14:18 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 21 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linux PM list <linux-pm@vger.kernel.org>, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> |
| X-Original-Date | Fri, 13 May 2016 08:44:16 +0530 |
| X-Original-Message-ID | <20160513031416.GB3415@vireshk-i7> |
| X-Original-References | <4540082.RMPf3KxPDh@vostro.rjw.lan> <2034165.RqMO62khMb@vostro.rjw.lan> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1400473 |
Show key headers only | View raw
On 12-05-16, 15:14, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > None of the cpufreq governors currently in the tree will ever fail > an invocation of the ->governor() callback with the event argument > equal to CPUFREQ_GOV_STOP (unless invoked with incorrect arguments > which doesn't matter anyway) and it is rather difficult to imagine > a valid reason for such a failure. > > Accordingly, rearrange the code in the core to make it clear that > this call never fails. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > drivers/cpufreq/cpufreq.c | 40 +++++++++++----------------------------- > 1 file changed, 11 insertions(+), 29 deletions(-) Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-12 15:20 +0200 Re: [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-13 05:20 +0200
csiph-web