Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338967 > unrolled thread

[PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()

Started byEric Biggers <ebiggers3@gmail.com>
First post2016-02-21 20:40 +0100
Last post2016-02-22 14:20 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: fix comment about return value of cpufreq_register_driver() Eric Biggers <ebiggers3@gmail.com> - 2016-02-21 20:40 +0100
    Re: [PATCH] cpufreq: fix comment about return value of  cpufreq_register_driver() Viresh Kumar <viresh.kumar@linaro.org> - 2016-02-22 06:30 +0100
      Re: [PATCH] cpufreq: fix comment about return value of cpufreq_register_driver() "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-02-22 14:20 +0100

#1338967 — [PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()

FromEric Biggers <ebiggers3@gmail.com>
Date2016-02-21 20:40 +0100
Subject[PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()
Message-ID<r4I1k-2pb-25@gated-at.bofh.it>
The comment has been incorrect since commit 4dea5806d332
("cpufreq: return EEXIST instead of EBUSY for second registering").

Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
---
 drivers/cpufreq/cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index e979ec7..bfefc91 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2384,7 +2384,7 @@ EXPORT_SYMBOL_GPL(cpufreq_boost_enabled);
  * submitted by the CPU Frequency driver.
  *
  * Registers a CPU Frequency driver to this core code. This code
- * returns zero on success, -EBUSY when another driver got here first
+ * returns zero on success, -EEXIST when another driver got here first
  * (and isn't unregistered in the meantime).
  *
  */
-- 
2.7.1

[toc] | [next] | [standalone]


#1339135 — Re: [PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()

FromViresh Kumar <viresh.kumar@linaro.org>
Date2016-02-22 06:30 +0100
SubjectRe: [PATCH] cpufreq: fix comment about return value of cpufreq_register_driver()
Message-ID<r4Reh-Ny-3@gated-at.bofh.it>
In reply to#1338967
On 20-02-16, 21:50, Eric Biggers wrote:
> The comment has been incorrect since commit 4dea5806d332
> ("cpufreq: return EEXIST instead of EBUSY for second registering").
> 
> Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
> ---
>  drivers/cpufreq/cpufreq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> index e979ec7..bfefc91 100644
> --- a/drivers/cpufreq/cpufreq.c
> +++ b/drivers/cpufreq/cpufreq.c
> @@ -2384,7 +2384,7 @@ EXPORT_SYMBOL_GPL(cpufreq_boost_enabled);
>   * submitted by the CPU Frequency driver.
>   *
>   * Registers a CPU Frequency driver to this core code. This code
> - * returns zero on success, -EBUSY when another driver got here first
> + * returns zero on success, -EEXIST when another driver got here first
>   * (and isn't unregistered in the meantime).
>   *
>   */

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

[toc] | [prev] | [next] | [standalone]


#1339465

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-02-22 14:20 +0100
Message-ID<r4Yz8-6mO-15@gated-at.bofh.it>
In reply to#1339135
On Monday, February 22, 2016 10:54:46 AM Viresh Kumar wrote:
> On 20-02-16, 21:50, Eric Biggers wrote:
> > The comment has been incorrect since commit 4dea5806d332
> > ("cpufreq: return EEXIST instead of EBUSY for second registering").
> > 
> > Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
> > ---
> >  drivers/cpufreq/cpufreq.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
> > index e979ec7..bfefc91 100644
> > --- a/drivers/cpufreq/cpufreq.c
> > +++ b/drivers/cpufreq/cpufreq.c
> > @@ -2384,7 +2384,7 @@ EXPORT_SYMBOL_GPL(cpufreq_boost_enabled);
> >   * submitted by the CPU Frequency driver.
> >   *
> >   * Registers a CPU Frequency driver to this core code. This code
> > - * returns zero on success, -EBUSY when another driver got here first
> > + * returns zero on success, -EEXIST when another driver got here first
> >   * (and isn't unregistered in the meantime).
> >   *
> >   */
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Queued up for 4.6, thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web