diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-01 16:25:27 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-11-04 10:57:36 -0800 |
| commit | d83f1512758f4ef6fc5e83219fe7eeeb6b428ea4 (patch) | |
| tree | baa22a7afc93566ef51f9ac7284f0e29183e0e60 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | 69aeb507312306f73495598a055293fa749d454e (diff) | |
Input: imx_sc_key - fix memory corruption on unload
This is supposed to be "priv" but we accidentally pass "&priv" which is
an address in the stack and so it will lead to memory corruption when
the imx_sc_key_action() function is called. Remove the &.
Fixes: 768062fd1284 ("Input: imx_sc_key - use devm_add_action_or_reset() to handle all cleanups")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/aQYKR75r2VMFJutT@stanley.mountain
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
