[PATCH] ASoC: test-component: fix null pointer dereference.

Mark Brown broonie at kernel.org
Tue Dec 7 13:51:18 CET 2021


On Tue, Dec 07, 2021 at 01:15:22PM +0500, Ameer Hamza wrote:
> On Mon, Dec 06, 2021 at 11:19:36PM +0000, Kuninori Morimoto wrote:

> > -	const struct test_adata *adata = of_id->data;
> > +	const struct test_adata *adata = of_device_get_match_data(&pdev->dev);

> Thanks, that's a cleaner way. Can you advise how should proceed with
> this since previous patch is already applied. Should I send a updated
> version of patch, e.g., v2 or a new patch. 

Please send an incremental patch on top of what is already applied as
covered in the message saying the patch was applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20211207/2c7a9a16/attachment.sig>


More information about the Alsa-devel mailing list