Skip to content
Snippets Groups Projects
Commit 248f260c authored by Heiko Schocher's avatar Heiko Schocher
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.

Signed-off-by: default avatarEzequiel Garcia <ezequiel@vanguardiasur.com.ar>

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
parent 0195a7bb
No related branches found
No related tags found
No related merge requests found
......@@ -453,11 +453,11 @@ static void unmap_peb(struct ubi_attach_info *ai, int pnum)
*/
#ifndef __UBOOT__
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)
#else
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)
#endif
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment