[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211208120526.GA12550@hamza-OptiPlex-7040>
Date: Wed, 8 Dec 2021 17:05:26 +0500
From: Ameer Hamza <amhamza.mgc@...il.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Cc: "lgirdwood@...il.com" <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"perex@...ex.cz" <perex@...ex.cz>,
"tiwai@...e.com" <tiwai@...e.com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] ASoC: test-component: fix null pointer dereference.
On Wed, Dec 08, 2021 at 12:05:46AM +0000, Kuninori Morimoto wrote:
>
> 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()
Thank you for your kind response and clarifying the process. Let me send
the updated patch. :)
Best Regards,
Ameer Hamza.
Powered by blists - more mailing lists