Commit ed9cf7c4 authored by Adam Xue's avatar Adam Xue Committed by Greg Kroah-Hartman
Browse files

bus: mhi: host: Do not use uninitialized 'dev' pointer in mhi_init_irq_setup()



commit d0856a6d upstream.

In mhi_init_irq_setup, the device pointer used for dev_err() was not
initialized. Use the pointer from mhi_cntrl instead.

Fixes: b0fc0167 ("bus: mhi: core: Allow shared IRQ for event rings")
Fixes: 3000f85b ("bus: mhi: core: Add support for basic PM operations")
Signed-off-by: default avatarAdam Xue <zxue@semtech.com>
[mani: reworded subject/description and CCed stable]
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Reviewed-by: default avatarKrishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20250905174118.38512-1-zxue@semtech.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 108c5049
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment