Re: [PATCH 05/26] comedi: Don't use create_proc_read_entry() [RFC]

From: David Howells
Date: Thu Apr 11 2013 - 11:16:23 EST


Ian Abbott <abbotti@xxxxxxxxx> wrote:

> > Don't use create_proc_read_entry() as that is deprecated, but rather use
> > proc_create_data() and seq_file instead.
>
> It seems to work okay and is simpler than I thought it would be! You changed
> the mode of the file to 0644 for some reason though. Please change it back to
> 0444 or S_IFREG | S_IRUGO. Thanks.

Ah... cut'n'paste error. Sorry about that.

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