[PATCH] ubi: fix swapped arguments to call to ubi_alloc_aeb

2016-10-15 Thread Colin King
From: Colin Ian King 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:

[PATCH] ubi: fix swapped arguments to call to ubi_alloc_aeb

2016-10-15 Thread Colin King
From: Colin Ian King 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 ---