public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod•at>
To: Boris Brezillon <boris.brezillon@bootlin•com>
Cc: David Woodhouse <dwmw2@infradead•org>,
	Brian Norris <computersforpeace@gmail•com>,
	Marek Vasut <marek.vasut@gmail•com>,
	Cyrille Pitchen <cyrille.pitchen@wedev4u•fr>,
	linux-mtd@lists•infradead.org,
	Joern Engel <joern@lazybastard•org>,
	Robert Jarzmik <robert.jarzmik@free•fr>,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	Paul Mackerras <paulus@samba•org>,
	Michael Ellerman <mpe@ellerman•id.au>,
	Kyungmin Park <kyungmin.park@samsung•com>,
	Artem Bityutskiy <dedekind1@gmail•com>,
	Solarflare linux maintainers <linux-net-drivers@solarflare•com>,
	Edward Cree <ecree@solarflare•com>,
	Bert Kenward <bkenward@solarflare•com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
	linuxppc-dev@lists•ozlabs.org, netdev@vger•kernel.org,
	devel@driverdev•osuosl.org, Miqu
Subject: Re: [PATCH 3/5] mtd: Stop assuming mtd_erase() is asynchronous
Date: Mon, 12 Feb 2018 22:58:56 +0100	[thread overview]
Message-ID: <1794415.MYW8eb4nQC@blindfold> (raw)
In-Reply-To: <20180212210311.23244-4-boris.brezillon@bootlin.com>

Am Montag, 12. Februar 2018, 22:03:09 CET schrieb Boris Brezillon:
> None of the mtd->_erase() implementations work in an asynchronous manner,
> so let's simplify MTD users that call mtd_erase(). All they need to do
> is check the value returned by mtd_erase() and assume that != 0 means
> failure.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin•com>

Reviewed-by: Richard Weinberger <richard@nod•at>

Thanks,
//richard

  reply	other threads:[~2018-02-12 21:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 21:03 [PATCH 0/5] mtd: Simplify erase handling Boris Brezillon
2018-02-12 21:03 ` [PATCH 1/5] mtd: Initialize ->fail_addr early in mtd_erase() Boris Brezillon
2018-02-12 21:47   ` Richard Weinberger
2018-03-18 21:22   ` Boris Brezillon
2018-02-12 21:03 ` [PATCH 2/5] mtd: Get rid of unused fields in struct erase_info Boris Brezillon
2018-02-12 21:47   ` Richard Weinberger
2018-02-12 21:03 ` [PATCH 3/5] mtd: Stop assuming mtd_erase() is asynchronous Boris Brezillon
2018-02-12 21:58   ` Richard Weinberger [this message]
2018-02-12 21:03 ` [PATCH 4/5] mtd: Unconditionally update ->fail_addr and ->addr in part_erase() Boris Brezillon
2018-02-12 22:05   ` Richard Weinberger
2018-02-12 21:03 ` [PATCH 5/5] mtd: Stop updating erase_info->state and calling mtd_erase_callback() Boris Brezillon
2018-02-12 22:17   ` Richard Weinberger
2018-02-13  7:42   ` Miquel Raynal
2018-02-13  8:17     ` Boris Brezillon
2018-02-13  8:33       ` Miquel Raynal
2018-02-13 12:09   ` Bert Kenward

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=1794415.MYW8eb4nQC@blindfold \
    --to=richard@nod$(echo .)at \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=bkenward@solarflare$(echo .)com \
    --cc=boris.brezillon@bootlin$(echo .)com \
    --cc=computersforpeace@gmail$(echo .)com \
    --cc=cyrille.pitchen@wedev4u$(echo .)fr \
    --cc=dedekind1@gmail$(echo .)com \
    --cc=devel@driverdev$(echo .)osuosl.org \
    --cc=dwmw2@infradead$(echo .)org \
    --cc=ecree@solarflare$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=joern@lazybastard$(echo .)org \
    --cc=kyungmin.park@samsung$(echo .)com \
    --cc=linux-mtd@lists$(echo .)infradead.org \
    --cc=linux-net-drivers@solarflare$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=marek.vasut@gmail$(echo .)com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=paulus@samba$(echo .)org \
    --cc=robert.jarzmik@free$(echo .)fr \
    /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