lkml.org 
[lkml]   [2021]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2] ASoC: test-component: fix null pointer dereference.
Date

Hi Ameer

Ah, you posted the patch :)

> Subject: [PATCH v2] ASoC: test-component: fix null pointer dereference.
>
> Dereferncing of_id pointer will result in exception in current
> implementation since of_match_device() will assign it to NULL.
> Adding NULL check for protection.

Previous your patch was already accepted,
thus this is not v2 patch.
git log should indicate is replace of_match_device() to of_device_get_match_data()

Best regards
---
Kuninori Morimoto

\
 
 \ /
  Last update: 2021-12-08 01:06    [W:0.072 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site