[additional patch for -mm 1/1] pcmcia: work around bug in libsysfs

Dominik Brodowski linux at dominikbrodowski.net
Wed May 4 16:21:05 EDT 2005


On Wed, May 04, 2005 at 01:06:52PM -0700, Andrew Morton wrote:
> Dominik Brodowski <linux at dominikbrodowski.net> wrote:
> >
> > Work around a bug in sysfsutils
> 
> mutter.  Why do we need to work around userspace bugs?

sysfsutils releases seem to happen _very_ rarely these days, and the
breakage happens very subtly: sysfs_write_attribute() returns 0, but nothing
actually got written to a file. Passing "<none>" here instead of "" in the
show method doesn't hurt much, so I thought we could consider working around
that specific userspace bug... even though I dislike it somewhat, too...

> Did earlier kernels work OK with older sysfsutils or what?

No, not a single (pcmcia-patched) kernel worked OK with current sysfsutils.

So, feel free to drop it if you consider it the wrong thing to do.

Thanks,
	Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20050504/3c606204/attachment.bin


More information about the linux-pcmcia mailing list