lkml.org 
[lkml]   [2015]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v4 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf
    From
    Date
    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@samsung.com>
    > ---
    > arch/arm/mach-exynos/pmu.c | 6 +++++-
    > 1 file changed, 5 insertions(+), 1 deletion(-)

    Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

    Best regards,
    Krzysztof



    \
     
     \ /
      Last update: 2015-11-12 05:21    [W:4.143 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site