diff options
| author | Boris Brezillon <[email protected]> | 2018-01-09 08:50:34 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2018-01-16 14:23:21 +0000 |
| commit | 24ff12922278573b1e4c54b4898ab7a3c64be960 (patch) | |
| tree | 530fb669aac994de12e307cf92e83ffb21ef1c88 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | mtd: mtdpart: Make ECC stat handling consistent (diff) | |
| download | kernel-24ff12922278573b1e4c54b4898ab7a3c64be960.tar.gz kernel-24ff12922278573b1e4c54b4898ab7a3c64be960.zip | |
mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
Some MTD sublayers/drivers are implementing ->_read/write_oob() and
provide dummy wrappers for their ->_read/write() implementations.
Let the core handle this case instead of duplicating the logic.
Signed-off-by: Boris Brezillon <[email protected]>
Acked-by: Robert Jarzmik <[email protected]>
Acked-by: Brian Norris <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Tested-by: Ladislav Michl <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
