commit | 3f84e454eb6cd712bf1fed6870df46bfe8c772f0 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 16 16:59:10 2016 +0200 |
committer | Richard Weinberger <richard@nod.at> | Sun Oct 02 22:48:14 2016 +0200 |
tree | fed568a813892fec2061c88b2a23ecbd23afd09d | |
parent | f5f9d43f0a61e636008e2325c1c6178bd5b0da27 [diff] |
UBI: fix add_fastmap() to use the vid_hdr passed in argument add_fastmap() is passed a ubi_vid_hdr pointer in argument, but is referencing the global vidh pointer. Even if this is correct from a functional point of view (vidh and vid_hdr point to the same object), it is confusing. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>