[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130219141939.GD4390@arwen.pp.htv.fi>
Date: Tue, 19 Feb 2013 16:19:39 +0200
From: Felipe Balbi <balbi@...com>
To: Mauro Carvalho Chehab <mchehab@...hat.com>
CC: Hannes Reinecke <hare@...e.de>, Borislav Petkov <bp@...en8.de>,
Felipe Balbi <balbi@...com>,
Greg KH <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>, <JBottomley@...allels.com>,
<linux-scsi@...r.kernel.org>, <davem@...emloft.net>,
<netdev@...r.kernel.org>,
Doug Thompson <dougthompson@...ssion.com>,
<linux-edac@...r.kernel.org>, <rjw@...k.pl>,
<linux-pm@...r.kernel.org>
Subject: Re: SYSFS "errors"
Hi,
On Tue, Feb 19, 2013 at 11:14:40AM -0300, Mauro Carvalho Chehab 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 thread started with Felipe's complain about it returning -ENOSYS ;)
> when this feature is not supported.
I was complaining about a file with read permission not being really
readable which is a fair bug IMHO.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists