On Thu, Feb 9, 2017 at 5:03 PM, Andre Renaud <andre@ignavus.net> wrote:Hi,The current /proc/yaffs support for Linux seems to be broken on 4.8, I think because of the way read-offsets are dealt with and the limited internal buffer (512B). Given that seq_file predates Linux 2.4, would there be a problem just dropping support for kernels that predate this, and then moving the whole thing over to seq_file, or are there enough legacy installations that still require this support?I doubt anyone is using 2.4 these days, but would a big #if work?#if VERSION_LESS_THAN_X
static struct proc_dir_entry *my_proc_entry;
static char *yaffs_dump_dev_part0(char *buf, struct yaffs_dev *dev)
...#elsenew stuff#endif