mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
soc: qcom: memory_dump_v2: Initialize value of id
Id need to be initialized in function mem_dump_alloc. Change-Id: Iddc3b4b09ea0a3b3554e5ab16e678240dcefe79e Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
This commit is contained in:
parent
8a22567035
commit
c578bc78ac
|
|
@ -1059,7 +1059,7 @@ static int mem_dump_alloc(struct platform_device *pdev)
|
|||
struct msm_dump_entry dump_entry;
|
||||
struct md_region md_entry;
|
||||
size_t total_size;
|
||||
u32 size, id;
|
||||
u32 size, id = 0;
|
||||
int ret, no_of_nodes;
|
||||
dma_addr_t dma_handle;
|
||||
phys_addr_t phys_addr, mini_phys_addr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user