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: <20070821091412.GA6021@pingi.kke.suse.de>
Date:	Tue, 21 Aug 2007 11:14:12 +0200
From:	Karsten Keil <kkeil@...e.de>
To:	tonyj@...e.de
Cc:	linux-kernel@...r.kernel.org, calle@...le.de, kkeil@...e.de,
	kay.sievers@...y.org
Subject: Re: [patch 14/14] Convert from class_device to device for ISDN capi

On Mon, Aug 20, 2007 at 03:48:20PM -0700, tonyj@...e.de wrote:
> -- 
> Content-Disposition: inline; filename=isdn-capi.patch
> 
> Convert from class_device to device for drivers/isdn/capi.  This is
> part of the work to eliminate struct class_device.
> 

If you add a Signed-off-by:
I'll ack this patch.

> ---
>  drivers/isdn/capi/capi.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> --- a/drivers/isdn/capi/capi.c
> +++ b/drivers/isdn/capi/capi.c
> @@ -1544,11 +1544,11 @@ static int __init capi_init(void)
>  		return PTR_ERR(capi_class);
>  	}
>  
> -	class_device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi");
> +	device_create(capi_class, NULL, MKDEV(capi_major, 0), "capi");
>  
>  #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE
>  	if (capinc_tty_init() < 0) {
> -		class_device_destroy(capi_class, MKDEV(capi_major, 0));
> +		device_destroy(capi_class, MKDEV(capi_major, 0));
>  		class_destroy(capi_class);
>  		unregister_chrdev(capi_major, "capi20");
>  		return -ENOMEM;
> @@ -1576,7 +1576,7 @@ static void __exit capi_exit(void)
>  {
>  	proc_exit();
>  
> -	class_device_destroy(capi_class, MKDEV(capi_major, 0));
> +	device_destroy(capi_class, MKDEV(capi_major, 0));
>  	class_destroy(capi_class);
>  	unregister_chrdev(capi_major, "capi20");
>  
> 
> -- 

-- 
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
-
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