lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJOA=zOX0X9M2Lqu1GQC3o37V7e-jja7KbHteJ+yDWL-JRf5YA@mail.gmail.com>
Date:	Wed, 11 Jan 2012 16:21:59 -0800
From:	"Turquette, Mike" <mturquette@...com>
To:	MyungJoo Ham <myungjoo.ham@...sung.com>
Cc:	linux-kernel@...r.kernel.org,
	Linux PM list <linux-pm@...r.kernel.org>,
	Kyungmin Park <kyungmin.park@...sung.com>,
	"Rafael J. Wysocki" <rjw@...k.pl>, Kevin Hilman <khilman@...com>,
	myungjoo.ham@...il.com
Subject: Re: [PATCH 2/2] PM / devfreq: fixed syntax errors.

On Wed, Jan 11, 2012 at 2:02 AM, MyungJoo Ham <myungjoo.ham@...sung.com> wrote:
> If devfreq.h was included without CONFIG_PM_DEVFREQ, there has been a
> compiler error with an additional semicolon added. This patch removes
> that errorneous semicolon.

Looks good.

Reviewed-by: Mike Turquette <mturquette@...com>

>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
> ---
>  include/linux/devfreq.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h
> index e9385bf..5862475 100644
> --- a/include/linux/devfreq.h
> +++ b/include/linux/devfreq.h
> @@ -205,12 +205,12 @@ struct devfreq_simple_ondemand_data {
>  static struct devfreq *devfreq_add_device(struct device *dev,
>                                          struct devfreq_dev_profile *profile,
>                                          struct devfreq_governor *governor,
> -                                         void *data);
> +                                         void *data)
>  {
>        return NULL;
>  }
>
> -static int devfreq_remove_device(struct devfreq *devfreq);
> +static int devfreq_remove_device(struct devfreq *devfreq)
>  {
>        return 0;
>  }
> --
> 1.7.4.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ