diff options
author | Colin Ian King | 2016-10-15 17:00:11 +0100 |
---|---|---|
committer | Richard Weinberger | 2016-10-20 00:06:00 +0200 |
commit | a15cf34fed779d3d49d76e3a7e63bd0132b6a458 (patch) | |
tree | b2dd79e913df18993df02f3bca0223c1fe21a6c3 /drivers/vhost | |
parent | 843741c5778398ea67055067f4cc65ae6c80ca0e (diff) |
ubi: fix swapped arguments to call to ubi_alloc_aeb
Static analysis by CoverityScan detected the ec and pnum
arguments are in the wrong order on a call to ubi_alloc_aeb.
Swap the order to fix this.
Fixes: 91f4285fe389a27 ("UBI: provide helpers to allocate and free aeb elements")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions