On Wed, Apr 02, 2025 at 01:32:51PM +0300, Andy Shevchenko wrote: > What would be better in my opinion is to have it something like DEFINE_*() > type, which will look more naturally in the current kernel codebase > (as we have tons of DEFINE_FOO(). > > DEFINE_AUTO_KFREE_VAR(name, struct foo);
Still weird. Much better to have the compiler complain about the obvious use of uninitialized.
