[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220427152605.100908-1-miquel.raynal@bootlin.com>
Date: Wed, 27 Apr 2022 17:26:05 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Yang Yingliang <yangyingliang@...wei.com>,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-media@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linaro-mm-sig@...ts.linaro.org
Cc: Miquel Raynal <miquel.raynal@...tlin.com>, richard@....at
Subject: Re: [PATCH 3/3] mtd: rawnand: tmio: check return value after calling platform_get_resource()
On Tue, 2022-04-26 at 08:49:13 UTC, 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>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists