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: <201105241436.01179.anarsoul@gmail.com>
Date:	Tue, 24 May 2011 14:36:00 +0300
From:	Vasily Khoruzhick <anarsoul@...il.com>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	Anton Vorontsov <cbouatmailru@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe()

On Tuesday 24 May 2011 13:46:02 Mark Brown wrote:
> A probe() function is used at device init time rather than system init
> time.
> 
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>

Acked-by: Vasily Khoruzhick <anarsoul@...il.com>

> ---
>  drivers/power/s3c_adc_battery.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/power/s3c_adc_battery.c
> b/drivers/power/s3c_adc_battery.c index d36c289..a675e31 100644
> --- a/drivers/power/s3c_adc_battery.c
> +++ b/drivers/power/s3c_adc_battery.c
> @@ -266,7 +266,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void
> *dev_id) return IRQ_HANDLED;
>  }
> 
> -static int __init s3c_adc_bat_probe(struct platform_device *pdev)
> +static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
>  {
>  	struct s3c_adc_client	*client;
>  	struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;
--
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