Re: [cocci] [v2] coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/sysfs.rst

From: Julia Lawall
Date: Sun Jan 21 2024 - 06:21:31 EST




On Sun, 21 Jan 2024, Markus Elfring wrote:

> >> Would you like to consider the application of the following SmPL code variant?
> >>
> >> -snprintf
> >> +sysfs_emit
> >> (BUF,
> >> - SZ,
> >> FORMAT,
> >> ...
> >> );
> >
> > It's ok too.
>
> Are you going to integrate such a transformation approach?

No. I already pushed the commit for Linux v6.8, and I don't think the
change has any practical impact.

julia