Re: [PATCH v2] platform/x86: intel: punit_ipc: fix memory corruption

From: Ilpo Järvinen
Date: Mon Nov 24 2025 - 08:41:17 EST


On Fri, 21 Nov 2025 20:51:28 +0300, Dan Carpenter wrote:

> This passes the address of the pointer "&punit_ipcdev" when the intent
> was to pass the pointer itself "punit_ipcdev" (without the ampersand).
> This means that the:
>
> complete(&ipcdev->cmd_complete);
>
> in intel_punit_ioc() will write to a wrong memory address corrupting it.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: intel: punit_ipc: fix memory corruption
commit: 9b9c0adbc3f8a524d291baccc9d0c04097fb4869

--
i.