diff options
author | Kyungmin Park <kmpark@infradead.org> | 2008-05-21 14:34:56 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 13:32:54 +0300 |
commit | a0fd1efd488092951f310fdb777b8a540cf84dcb (patch) | |
tree | d085115d57460e5ac29cdb61bf78fab9c1d3628d /drivers/mtd/ubi/kapi.c | |
parent | beeea636030622f6de67d15c61f5b311a03d188c (diff) |
UBI: fix buffer padding
Instead of correctly pad the buffer wich we are writing to the
eraseblock during update, we used weird construct:
memset(buf + len, 0xFF, len - len);
Fix this.
Signed-off-by: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
0 files changed, 0 insertions, 0 deletions