Re: 2.6.13-mm1: PCMCIA problem

From: Pavel Machek
Date: Sun Sep 04 2005 - 09:29:59 EST


Hi!

> > > One more piece of information. This is the one that loops:
> > >
> > > echo 30 > /sys/class/firmware/timeout
> >
> > Try echo -n ...
>
> Or revert gregkh-driver-sysfs-strip_leading_trailing_whitespace.patch.
> Obviously if you write 30\n and the write returns 2 then the shell will
> then try to write the \n. That returns zero and the shell tries again, ad
> infinitum.

Can you revert
gregkh-driver-sysfs-strip_leading_trailing_whitespace.patch, instead?

Kernel should not provide "nice" interface. Striping trailing
whitespace is wrong, just teach users to use sysfs right.

Pavel
--
if you have sharp zaurus hardware you don't need... you know my address
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/