On Tue 22 Dec 02:48 CST 2020, Md Sadre Alam wrote:
> of_device_get_match_data returns NULL when no match.
> So add the NULL pointer check to avoid dereference.
>
> Signed-off-by: Md Sadre Alam
> ---
> drivers/mmc/host/sdhci-msm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drive
On 22/12/20 10:48 am, Md Sadre Alam wrote:
> of_device_get_match_data returns NULL when no match.
> So add the NULL pointer check to avoid dereference.
>
> Signed-off-by: Md Sadre Alam
> ---
> drivers/mmc/host/sdhci-msm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mmc/ho
On 12/22/2020 2:18 PM, Md Sadre Alam wrote:
of_device_get_match_data returns NULL when no match.
So add the NULL pointer check to avoid dereference.
Signed-off-by: Md Sadre Alam
---
Reviewed-by: Veerabhadrarao Badiganti
drivers/mmc/host/sdhci-msm.c | 2 ++
1 file changed, 2 insertions
of_device_get_match_data returns NULL when no match.
So add the NULL pointer check to avoid dereference.
Signed-off-by: Md Sadre Alam
---
drivers/mmc/host/sdhci-msm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 9c7927b..
4 matches
Mail list logo