mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: bcm-kernel-feedback-list@broadcom.com,
	linux-arm-kernel@lists.infradead.org
Cc: Brian Norris <computersforpeace@gmail.com>,
	Gregory Fong <gregory.0xf0@gmail.com>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] soc: brcmstb: Fix error path for unsupported CPUs
Date: Wed, 17 Apr 2019 11:56:08 -0700	[thread overview]
Message-ID: <20190417185608.1774-1-f.fainelli@gmail.com> (raw)
In-Reply-To: <20190407211910.8744-1-f.fainelli@gmail.com>

On Sun,  7 Apr 2019 14:19:07 -0700, Florian Fainelli <f.fainelli@gmail.com> wrote:
> In case setup_hifcpubiuctrl_regs() returns an error, because of e.g:
> an unsupported CPU type, just catch that error and return instead of
> blindly continuing with the initialization. This fixes a NULL pointer
> de-reference with the code continuing without having a proper array of
> registers to use.
> 
> Fixes: 22f7a9116eba ("soc: brcmstb: Correct CPU_CREDIT_REG offset for Brahma-B53 CPUs")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---

Applied to soc/fixes, thanks!
--
Florian

      reply	other threads:[~2019-04-17 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-07 21:19 Florian Fainelli
2019-04-17 18:56 ` Florian Fainelli [this message]

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=20190417185608.1774-1-f.fainelli@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=computersforpeace@gmail.com \
    --cc=gregory.0xf0@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®