public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: k.kozlowski@samsung•com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v4 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf
Date: Thu, 12 Nov 2015 13:03:11 +0900	[thread overview]
Message-ID: <56440F7F.6090408@samsung.com> (raw)
In-Reply-To: <1447155784-12667-3-git-send-email-pankaj.dubey@samsung.com>

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

  reply	other threads:[~2015-11-12  4:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10 11:42 [PATCH v4 0/9] samsung: pmu: split up SoC specific PMU data Pankaj Dubey
2015-11-10 11:42 ` [PATCH v4 1/9] ARM: EXYNOS: removing redundant code from regs-pmu.h Pankaj Dubey
2015-11-10 11:42 ` [PATCH v4 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf Pankaj Dubey
2015-11-12  4:03   ` Krzysztof Kozlowski [this message]
2015-11-10 11:42 ` [PATCH v4 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung" Pankaj Dubey
2015-11-12  4:09   ` Krzysztof Kozlowski
2015-11-13  9:27     ` Pankaj Dubey
2015-11-10 11:42 ` [PATCH v4 4/9] ARM: EXYNOS: split up exynos3250 SoC specific PMU data Pankaj Dubey
2015-11-12  4:22   ` Krzysztof Kozlowski
2015-11-10 11:43 ` [PATCH v4 5/9] ARM: EXYNOS: split up exynos4 " Pankaj Dubey
2015-11-10 11:43 ` [PATCH v4 6/9] ARM: EXYNOS: split up exynos5250 " Pankaj Dubey
2015-11-10 11:43 ` [PATCH v4 7/9] ARM: EXYNOS: split up exynos5420 " Pankaj Dubey
2015-11-12  4:30   ` Krzysztof Kozlowski
2015-11-10 11:43 ` [PATCH v4 8/9] ARM: EXYNOS: rearrange static and non-static functions of PMU driver Pankaj Dubey
2015-11-12  4:39   ` Krzysztof Kozlowski
2015-11-10 11:43 ` [PATCH v4 9/9] drivers: soc: Add support for Exynos " Pankaj Dubey
2015-11-12  4:35   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56440F7F.6090408@samsung.com \
    --to=k.kozlowski@samsung$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox