OSDN Git Service

mtd: adapt misleading comment in mtd_oob_ops structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 20:33:02 +0000 (22:33 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 19 Jul 2018 21:12:09 +0000 (23:12 +0200)
commitd70420bcd447e5400a0116b20b9b6088bb32448e
tree03f5a66c9f4def5dae5431874f9814f76a6322c1
parenta8222a84cefa9d3595a14cf076bc8c09287bf16c
mtd: adapt misleading comment in mtd_oob_ops structure

A comment in the kernel doc of the mtd_oob_ops structure tells that it
is not possible to write more than one page with OOB. This is actually
true for only a few MTD devices like 'onenand' but it is definitely not
a general limitation. While this would benefit to be handled elsewhere
either by the MTD layer or by the limited drivers, let's update this
comment to reflect the reality.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
include/linux/mtd/mtd.h