Re: [cocci] [RFC] Increasing usage of direct pointer assignments from memcpy() calls with SmPL?

From: Markus Elfring

Date: Thu Oct 30 2025 - 09:58:41 EST


>> - target = object; memcpy(target, source, size);
+ target = memcpy(object, source, size);


> No one will thank you for making these changes... 🙁

Will any more contributors dare to try adjustments out at such source code places?


> Please don't do it.

How will change tolerance evolve further?

Regards,
Markus