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

Re: SYSFS "errors"

From: Borislav Petkov <bp@alien8.de>
Date: 2013-02-19 13:55:08
Also in: linux-pm, linux-scsi, lkml

Possibly related (same subject, not in this thread)

On Tue, Feb 19, 2013 at 10:50:48AM -0300, Mauro Carvalho Chehab wrote:
It is actually worse, as if someone is using a C code to open the device
with
	fp = open ("/sys/devices/system/edac/mc/mc0/sdram_scrub_rate", O_RDWR);

It will now start to fail if the device doesn't have both permissions.
That's fine - you're supposed to handle open()'s retval properly anyway. See my
other mail.

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