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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100902155453.GA16914@core.coreip.homeip.net>
Date:	Thu, 2 Sep 2010 08:54:53 -0700
From:	Dmitry Torokhov <dmitry.torokhov@...il.com>
To:	Axel Lin <axel.lin@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	Ben Dooks <ben-linux@...ff.org>,
	Arnaud Patard <arnaud.patard@...-net.org>,
	Simtec Electronics <linux@...tec.co.uk>,
	linux-input@...r.kernel.org
Subject: Re: [PATCH] Input: s3c2410_ts - fix s3c2410ts_probe error path

On Thu, Sep 02, 2010 at 04:25:16PM +0800, Axel Lin wrote:
> Use input_free_device() to free devices that have not been registered.
> 
> Signed-off-by: Axel Lin <axel.lin@...il.com>

Applied, thanks Axel.

> ---
>  drivers/input/touchscreen/s3c2410_ts.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c
> index 6085d12..8feb7f3 100644
> --- a/drivers/input/touchscreen/s3c2410_ts.c
> +++ b/drivers/input/touchscreen/s3c2410_ts.c
> @@ -350,7 +350,7 @@ static int __devinit s3c2410ts_probe(struct platform_device *pdev)
>   err_tcirq:
>  	free_irq(ts.irq_tc, ts.input);
>   err_inputdev:
> -	input_unregister_device(ts.input);
> +	input_free_device(ts.input);
>   err_iomap:
>  	iounmap(ts.io);
>   err_clk:
> -- 
> 1.7.2
> 
> 
> 

-- 
Dmitry
--
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