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]
Date:	Wed, 10 Nov 2010 03:11:01 +0100
From:	Kay Sievers <kay.sievers@...y.org>
To:	michael@...erman.id.au
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH] perf: sysfs type id

On Wed, Nov 10, 2010 at 02:45, Michael Ellerman <michael@...erman.id.au> wrote:
> On Wed, 2010-11-10 at 02:19 +0100, Kay Sievers wrote:

>> >> The pseudo-convenience device_register/device_unregister should also
>> >> not be used.
>> >
>> > Why are they in the tree if they shouldn't be used?
>>
>> Because they save one line and do improper error handling.
>> They should all be converted to device_init+device_add/device_del/device_put.
>
> I don't see device_init(), or do you mean device_initialize()? It
> returns void?

http://lkml.org/lkml/2010/9/22/56

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