All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Colin King <colin.king@canonical.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Michael Walle <michael@walle.cc>, Wen He <wen.he_1@nxp.com>,
	linux-clk@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] clk: ls1028a: fix a dereference of pointer 'parent' before a null check
Date: Tue, 04 Feb 2020 07:03:53 +0000	[thread overview]
Message-ID: <20200204070354.AB16A20674@mail.kernel.org> (raw)
In-Reply-To: <20200203223736.99645-1-colin.king@canonical.com>

Quoting Colin King (2020-02-03 14:37:36)
> From: Colin Ian King <colin.king@canonical.com>
> 
> Currently the pointer 'parent' is being dereferenced before it is
> being null checked. Fix this by performing the null check before
> it is dereferenced.
> 
> Addresses-Coverity: ("Dereference before null check")
> Fixes: d37010a3c162 ("clk: ls1028a: Add clock driver for Display output interface")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Applied to clk-next

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@kernel.org>
To: Colin King <colin.king@canonical.com>,
	Michael Turquette <mturquette@baylibre.com>,
	Michael Walle <michael@walle.cc>, Wen He <wen.he_1@nxp.com>,
	linux-clk@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] clk: ls1028a: fix a dereference of pointer 'parent' before a null check
Date: Mon, 03 Feb 2020 23:03:53 -0800	[thread overview]
Message-ID: <20200204070354.AB16A20674@mail.kernel.org> (raw)
In-Reply-To: <20200203223736.99645-1-colin.king@canonical.com>

Quoting Colin King (2020-02-03 14:37:36)
> From: Colin Ian King <colin.king@canonical.com>
> 
> Currently the pointer 'parent' is being dereferenced before it is
> being null checked. Fix this by performing the null check before
> it is dereferenced.
> 
> Addresses-Coverity: ("Dereference before null check")
> Fixes: d37010a3c162 ("clk: ls1028a: Add clock driver for Display output interface")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Applied to clk-next


  reply	other threads:[~2020-02-04  7:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03 22:37 [PATCH][next] clk: ls1028a: fix a dereference of pointer 'parent' before a null check Colin King
2020-02-03 22:37 ` Colin King
2020-02-04  7:03 ` Stephen Boyd [this message]
2020-02-04  7:03   ` Stephen Boyd

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=20200204070354.AB16A20674@mail.kernel.org \
    --to=sboyd@kernel.org \
    --cc=colin.king@canonical.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael@walle.cc \
    --cc=mturquette@baylibre.com \
    --cc=wen.he_1@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.