Re: [PATCH v2] powerpc: 82xx: fix uninitialized pointers with free attribute

From: Madhavan Srinivasan

Date: Mon May 18 2026 - 01:44:08 EST


On Sun, 16 Nov 2025 19:55:44 +0530, Ally Heev wrote:
> Uninitialized pointers with `__free` attribute can cause undefined
> behavior as the memory allocated to the pointer is freed automatically
> when the pointer goes out of scope.
>
> powerpc/km82xx doesn't have any bugs related to this as of now, but,
> it is better to initialize and assign pointers with `__free` attribute
> in one statement to ensure proper scope-based cleanup
>
> [...]

Applied to powerpc/fixes.

[1/1] powerpc: 82xx: fix uninitialized pointers with free attribute
https://git.kernel.org/powerpc/c/acd1e47db03d4b528fd5efb8565dd0de1c79f62a

cheers