From: miquel.raynal@bootlin.com (Miquel Raynal)
To: linux-mtd@lists.infradead.org
Subject: [PATCH] mtd: Implement mtd_{read,write}() as wrappers around mtd_{read,write}_oob()
Date: Wed, 16 Jan 2019 11:54:35 +0100 [thread overview]
Message-ID: <20190116115435.139eb78a@xps13> (raw)
In-Reply-To: <20181220141320.32226-1-boris.brezillon@bootlin.com>
Hi Boris,
Boris Brezillon <boris.brezillon@bootlin.com> wrote on Thu, 20 Dec 2018
15:13:20 +0100:
> mtd_{read,write}_oob() already take care of checking the params and
> calling ->_{read,write}() or ->_{read,write}_oob() based on the
> request and the operations supported by the MTD device.
> No need to duplicate the logic, we can simply implement
> mtd_{read,write}() as wrappers around mtd_{read,write}_oob().
>
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
I will base my ongoing works on top of this patch:
* MTD partition tree
* mtd_{read,write} -> mtd_io() rework
Thanks,
Miqu?l
next prev parent reply other threads:[~2019-01-16 10:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-20 14:13 [PATCH] mtd: Implement mtd_{read, write}() as wrappers around mtd_{read, write}_oob() Boris Brezillon
2019-01-16 10:54 ` Miquel Raynal [this message]
2019-01-16 19:32 ` Boris Brezillon
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=20190116115435.139eb78a@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=linux-mtd@lists.infradead.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