All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev
Cc: p.zabel@pengutronix.de, mturquette@baylibre.com
Subject: Re: [PATCH] clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
Date: Tue, 02 Nov 2021 14:41:17 -0700	[thread overview]
Message-ID: <163588927731.2993099.16538060448350679890@swboyd.mtv.corp.google.com> (raw)
In-Reply-To: <20210918073752.105959-1-yangyingliang@huawei.com>

Quoting Yang Yingliang (2021-09-18 00:37:52)
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---

Can we delete this driver now?

WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev
Cc: p.zabel@pengutronix.de, mturquette@baylibre.com
Subject: Re: [PATCH] clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
Date: Tue, 02 Nov 2021 14:41:17 -0700	[thread overview]
Message-ID: <163588927731.2993099.16538060448350679890@swboyd.mtv.corp.google.com> (raw)
In-Reply-To: <20210918073752.105959-1-yangyingliang@huawei.com>

Quoting Yang Yingliang (2021-09-18 00:37:52)
> It will cause null-ptr-deref if platform_get_resource() returns NULL,
> we need check the return value.
> 
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---

Can we delete this driver now?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-11-02 21:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18  7:37 [PATCH] clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource() Yang Yingliang
2021-09-18  7:37 ` Yang Yingliang
2021-11-02 21:41 ` Stephen Boyd [this message]
2021-11-02 21:41   ` Stephen Boyd
2022-04-21 13:43 Yang Yingliang
2022-04-21 13:43 ` Yang Yingliang
2022-04-23 19:45 ` Samuel Holland
2022-04-23 19:45   ` Samuel Holland

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=163588927731.2993099.16538060448350679890@swboyd.mtv.corp.google.com \
    --to=sboyd@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=mturquette@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=yangyingliang@huawei.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.