diff options
author | 2017-12-15 13:39:52 +0100 | |
---|---|---|
committer | 2018-01-06 15:09:54 +0100 | |
commit | f72071b892d6f5eccf90756f3c12b1422bd4b474 (patch) | |
tree | da54f4c67f3d7e598e03df9203e86ac40ab21bfe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: Do not allow MTD devices with inconsistent erase properties (diff) | |
download | linux-dev-f72071b892d6f5eccf90756f3c12b1422bd4b474.tar.xz linux-dev-f72071b892d6f5eccf90756f3c12b1422bd4b474.zip |
mtd: Add an helper to make erase request aligned on ->erasesize
There's currently nothing forcing alignment of einfo->addr and
einfo->len on mtd->erasesize. Since we don't know if automatically
aligning those field in mtd_erase() will hurt some drivers, we add an
helper function to let drivers that need such an alignment explicitly
ask for it.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions