commit | eab737722ed6a5638f6251e83f0d293c2ffe549f | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <elezegarcia@gmail.com> | Wed Nov 28 09:18:30 2012 -0300 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Mon Dec 10 13:38:59 2012 +0200 |
tree | ccac47deaa15cf48608352e73ded2dcf387c2737 | |
parent | 64575574f26d7969713ede9bde750c979da4037e [diff] |
UBI: embed ubi_debug_info field in ubi_device struct ubi_debug_info struct was dynamically allocated which is always suboptimal, for it tends to fragment memory and make the code error-prone. Fix this by embedding it in ubi_device struct. Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>