Re: [PATCH net-next v2] net: wan: framer: Add version sysfs attribute for the Lantiq PEF2256 framer

From: Simon Horman

Date: Wed Sep 17 2025 - 12:34:46 EST


On Wed, Sep 17, 2025 at 08:24:01AM +0200, Christophe Leroy wrote:
> Lantiq PEF2256 framer has some little differences in behaviour
> depending on its version.
>
> Add a sysfs attribute to allow user applications to know the
> version.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
> ---
> v2:
> - Make DEVICE_ATTR_RO(version) static
> - Split version_show() prototype into 2 lines to remain under 80 chars

Thanks for these updates. Sparse and checkpatch are happy now.

>
> v1: https://lore.kernel.org/all/f9aaa89946f1417dc0a5e852702410453e816dbc.1757754689.git.christophe.leroy@xxxxxxxxxx/

...