diff options
author | Shmulik Ladkani <[email protected]> | 2012-02-09 15:36:29 +0200 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-03-27 01:02:24 +0100 |
commit | 3b27dac03972c10980ec5480ad8425fc95aae9ad (patch) | |
tree | 62238107d409fd08ed06a0dc5e030d48aec320e4 /lib/string_helpers.c | |
parent | 637957551c0ac80de8dfc7650d320c5a98c2c0c0 (diff) |
mtd: unify initialization of erase_info->fail_addr
Initialization of 'erase_info->fail_addr' to MTD_FAIL_ADDR_UNKNOWN prior
erase operation is duplicated accross several MTD drivers, and also taken
care of by some MTD users as well.
Harmonize it: initialize 'fail_addr' within 'mtd_erase()' interface.
Signed-off-by: Shmulik Ladkani <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions