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

From: Markus Elfring
Date: Sun Jan 21 2024 - 06:04:37 EST


>> 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?

Regards,
Markus