Re: [PATCH] phy: mediatek: Fix missing check in mtk_mipi_tx_probe

From: AngeloGioacchino Del Regno
Date: Fri Dec 24 2021 - 04:55:09 EST


Il 24/12/21 09:21, Miaoqian Lin ha scritto:
The of_device_get_match_data() function may return NULL.
Add check to prevent potential null dereference.

Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>