Re: [RFC 01/11] add generic versions of debugfs file operations

From: Arnd Bergmann
Date: Sun Feb 24 2008 - 05:46:37 EST


On Saturday 23 February 2008, Al Viro wrote:

> Ewww - caps, \n... BTW, \0 is pointless here - simple_read_from_buffer() will
> not access it with these arguments)...

> ...

> Please, check the length; sloppy input grammar is a bad idea. Hell, at the
> very least you want -EINVAL if input is not recognized...

Ok, these two come straight from debugfs, but of course I can fix them
anyway. Should I do a fix for debugfs in 2.6.25 first, or rather do a
patch on top of the libfs rework?

I'd rather not have any semantic changes during the conversion, so
it would be better to keep that separate imho.

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