projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeeb14f
)
UBI: Fastmap: Fix PEB array type
author
Ezequiel García
<ezequiel@vanguardiasur.com.ar>
Sat, 17 Oct 2015 17:55:55 +0000
(14:55 -0300)
committer
Richard Weinberger
<richard@nod.at>
Fri, 6 Nov 2015 22:26:50 +0000
(23:26 +0100)
The PEB array is an array of __be32, so let's fix the
scan_pool() prototype accordingly.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/ubi/fastmap.c
b/drivers/mtd/ubi/fastmap.c
index 0e6bfaf850f3d5cb11a621aa7a96b1b5440699f5..263b439e21a88fc1df3e21f3e2eb4a0da43b8d1f 100644
(file)
--- a/
drivers/mtd/ubi/fastmap.c
+++ b/
drivers/mtd/ubi/fastmap.c
@@
-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;