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

From: Markus Elfring
Date: Sun Jan 21 2024 - 07:03:16 EST


>>>> -snprintf
>>>> +sysfs_emit
>>>> (BUF,
>>>> - SZ,
>>>> FORMAT,
>>>> ...
>>>> );
>>>
>>> It's ok too.
>>
>> Are you going to integrate such a transformation approach?
>
> No.

This is a pity.


> I already pushed the commit for Linux v6.8,

I hope then that the change acceptance for the “beautification”
and refinement of SmPL code can grow for subsequent versions.



> and I don't think the change has any practical impact.

I got an other development view for further fine-tuning possibilities.

Regards,
Markus