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: <Pine.LNX.4.58.0705011418130.309@shell2.speakeasy.net>
Date:	Tue, 1 May 2007 14:21:19 -0700 (PDT)
From:	Trent Piepho <xyzzy@...akeasy.org>
To:	Simon Arlott <simon@...e.lp0.eu>
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux DVB <linux-dvb@...uxtv.org>
Subject: Re: [linux-dvb] [PATCH] dvb-core: Handle failures to create devices

On Tue, 1 May 2007, Simon Arlott wrote:
> dvb-core is not started early enough when device drivers that use dvb are
> compiled in so device_register_device fails (silently) since dvb_class is
> NULL, this runs dvb_init using subsys_initclass instead of module_init.
>
> dvb_register_device will now check the return value of class_device_create.

Good catch.

> +		printk("%s: failed to create device dvb%d.%s%d (%ld)\n", __FUNCTION__,
> +			adap->num, dnames[type], id, PTR_ERR(clsdev));
> +		return PTR_ERR(clsdev);

printk(KERN_ERR "...."

-
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