mtd: devices: Fix for qcs405 64bit compilation issue.

Chage the type of len variable from uint32_t to size_t to
resolve [-Werror,-Wincompatible-pointer-types] errors during
64bit compilation.

Change-Id: I5dfc6fb145fc96f9eef8ed9ec2e84ad3081ecb61
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
This commit is contained in:
Pradeep P V K 2018-06-07 12:42:09 +05:30
parent 0abd32ff5c
commit a9dfe2b173

View File

@ -3270,7 +3270,7 @@ static int msm_nand_parse_smem_ptable(int *nr_parts)
{
uint32_t i, j;
uint32_t len = FLASH_PTABLE_HDR_LEN;
size_t len = FLASH_PTABLE_HDR_LEN;
struct flash_partition_entry *pentry;
char *delimiter = ":";
void *temp_ptable = NULL;