diff options
| author | Boris Brezillon <[email protected]> | 2017-12-15 12:39:51 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2018-01-06 14:09:40 +0000 |
| commit | 33f45c44d68b3593826524ba6d02bd9cce9e101e (patch) | |
| tree | 4a7246975527f107e7b09525ee85cca2cf76f940 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | mtd: sharpslpart: make local function sharpsl_nand_cleanup_ftl() static (diff) | |
| download | kernel-33f45c44d68b3593826524ba6d02bd9cce9e101e.tar.gz kernel-33f45c44d68b3593826524ba6d02bd9cce9e101e.zip | |
mtd: Do not allow MTD devices with inconsistent erase properties
When mtd->erasesize is 0 or mtd->_erase is NULL, that means the device
does not support the erase operation, which in turn means it should
have the MTD_NO_ERASE flag set.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
