Re: [Intel-wired-lan] [PATCH v2] net: ethernet: fix uninitialized pointers with free attr

From: ally heev

Date: Thu Nov 06 2025 - 06:37:38 EST


On Thu, 2025-11-06 at 10:18 +0000, Loktionov, Aleksandr wrote:
[..]
> Code style:
> The new declaration + initializer is good, but please ensure both hunks stay within ~80 columns in drivers/net/*.
> Wrapping like this is fine:
>
> struct ice_flow_prof_params *params __free(kfree) =
> kzalloc(sizeof(*params), GFP_KERNEL);

I ran checkpatch with `$max_line_length` set to 80. It didn't throw any errors/warnings

Regards,
Ally