Re: [PATCH V3] scsi: ufs: qcom : Fix NULL pointer dereference in ufs_qcom_setup_clocks

From: Nitin Rawat
Date: Wed Jun 25 2025 - 04:14:55 EST




On 6/25/2025 6:58 AM, Martin K. Petersen wrote:

Nitin,

Fix a NULL pointer dereference in ufs_qcom_setup_clocks due to an
uninitialized 'host' variable. The variable 'phy' is now assigned
after confirming 'host' is not NULL.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

This will have to go through the phy tree since that's where the rest of
these changes went.

Sure Martin. Thanks.

Hi Vinod,
Please could you merge this change through the phy tree.

Regards,
Nitin