Thread (32 messages) 32 messages, 6 authors, 2013-02-19

Re: SYSFS "errors"

From: Borislav Petkov <bp@alien8.de>
Date: 2013-02-19 14:10:34
Also in: linux-scsi, lkml, netdev

On Tue, Feb 19, 2013 at 02:58:07PM +0100, Hannes Reinecke wrote:
Please consider adding a default attribute which return '-EINVAL' or
somesuch when the function pointers are not set. But _not_ adding it
via device_create_file(). That's evil.
This is what we do now. We probably could add the permissions fiddling
out in the the code but remain using DEVICE_ATTR.

Thanks.

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help