[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d4a768d9-dde1-76a5-5d02-80bab7ca5225@gmail.com>
Date: Mon, 7 Jun 2021 10:47:18 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Yang Yingliang <yangyingliang@...wei.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Cc: opendmb@...il.com, davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net-next] net: bcmgenet: check return value after calling
platform_get_resource()
On 6/7/2021 6:38 AM, Yang Yingliang wrote:
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists