stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: motobud@gmail.com
Cc: boris.brezillon@free-electrons.com, stable@vger.kernel.org
Subject: Re: [PATCH] mtd: nand: Fix writing mtdoops to nand flash
Date: Tue, 28 Nov 2017 09:42:09 +0100	[thread overview]
Message-ID: <20171128084209.GF9413@kroah.com> (raw)
In-Reply-To: <20171128055914.25355-1-motobud@gmail.com>

On Mon, Nov 27, 2017 at 11:59:14PM -0600, motobud@gmail.com wrote:
> From: Brent Taylor <motobud@gmail.com>
> 
> commit 30863e38ebeb500a31cecee8096fb5002677dd9b upstream.
> 
> When mtdoops calls mtd_panic_write(), it eventually calls
> panic_nand_write() in nand_base.c. In order to properly wait for the
> nand chip to be ready in panic_nand_wait(), the chip must first be
> selected.
> 
> When using the atmel nand flash controller, a panic would occur due to
> a NULL pointer exception.
> 
> Fixes: 2af7c6539931 ("mtd: Add panic_write for NAND flashes")
> Cc: <stable@vger.kernel.org> # 4.4.x

This does not apply to the 4.4.x tree at all, only 3.18.x.  Can you
provide a backport for 4.4.x as well?

thanks,

greg k-h

  reply	other threads:[~2017-11-28  8:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  5:59 [PATCH] mtd: nand: Fix writing mtdoops to nand flash motobud
2017-11-28  8:42 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-29  5:13 motobud
2017-12-04 12:14 ` Greg KH

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=20171128084209.GF9413@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=boris.brezillon@free-electrons.com \
    --cc=motobud@gmail.com \
    --cc=stable@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;
as well as URLs for NNTP newsgroup(s).