summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2022-11-14 12:02:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:15:30 +0300
commit0919982a1744346269320615615c7deb14106661 (patch)
tree4448ceace79166af3c4d8628ca97051135d8ebfe /drivers/input
parenteffbf636162bddcbcb38b78e11995c759a76bae1 (diff)
downloadlinux-0919982a1744346269320615615c7deb14106661.tar.xz
mtd: lpddr2_nvm: Fix possible null-ptr-deref
[ Upstream commit 6bdd45d795adf9e73b38ced5e7f750cd199499ff ] It will cause null-ptr-deref when resource_size(add_range) invoked, if platform_get_resource() returns NULL. Fixes: 96ba9dd65788 ("mtd: lpddr: add driver for LPDDR2-NVM PCM memories") Signed-off-by: Hui Tang <tanghui20@huawei.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20221114090240.244172-1-tanghui20@huawei.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions