[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <56440F7F.6090408@samsung.com>
Date: Thu, 12 Nov 2015 13:03:11 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Pankaj Dubey <pankaj.dubey@...sung.com>,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: kgene.kim@...sung.com, thomas.ab@...sung.com,
amitdanielk@...il.com, olof@...om.net, khilman@...aro.org,
arnd@...db.de
Subject: Re: [PATCH v4 2/9] ARM: EXYNOS: Fix potential NULL pointer access in
exynos_sys_powerdown_conf
On 10.11.2015 20:42, Pankaj Dubey wrote:
> If no platform devices binded to the driver but driver itself loaded and
> exynos_sys_powerdown_conf is called from
> arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access,
> to prevent this added check on pmu_context for NULL.
>
> Signed-off-by: Pankaj Dubey <pankaj.dubey@...sung.com>
> ---
> arch/arm/mach-exynos/pmu.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists