Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bce5f41 authored by Ezequiel García's avatar Ezequiel García Committed by Nikhilesh Reddy
Browse files

UBI: Fastmap: Fix PEB array type



The PEB array is an array of __be32, so let's fix the
scan_pool() prototype accordingly.

CRs-Fixed: 975289
Change-Id: I3e596e6a8f7537bcfc58330ba899012e18998a54
Signed-off-by: default avatarEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Git-commit: 2a130f1aa54c2fb35abfc4d66e0239c80d054210
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 46b0caea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ static void unmap_peb(struct ubi_attach_info *ai, int pnum)
 * < 0 indicates an internal error.
 */
static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai,
		     int *pebs, int pool_size, unsigned long long *max_sqnum,
		     __be32 *pebs, int pool_size, unsigned long long *max_sqnum,
		     struct list_head *free)
{
	struct ubi_vid_hdr *vh;