[lkml]   [2017]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 2/9] ASoC: soc-core: Allow searching dai driver name in snd_soc_find_dai
On Tue, Aug 22, 2017 at 09:24:32PM +0800, Donglin Peng wrote:

> In case that dai->driver->name is NULL, strcmp(dai->driver->name,
> dlc->dai_name) will cause segmentation fault.
> so I think that we can change it as the follows:

We should be already verifying that drivers have a name, we assume one
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2017-08-22 16:03    [W:0.066 / U:2.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site