hw imx53 tz_vmm: fix compiler warnings
There were warnings in tz_vmm/block.cc due to an unitialized variable. Fixes #1849
This commit is contained in:
parent
2e0e767f93
commit
b63941f456
|
@ -206,7 +206,7 @@ class Device_registry
|
||||||
char label[Device::MAX_NAME_LEN];
|
char label[Device::MAX_NAME_LEN];
|
||||||
config.sub_node(node_id).attribute("label").value(label, sizeof(label));
|
config.sub_node(node_id).attribute("label").value(label, sizeof(label));
|
||||||
|
|
||||||
unsigned irq;
|
unsigned irq = ~0;
|
||||||
config.sub_node(node_id).attribute("irq").value(&irq);
|
config.sub_node(node_id).attribute("irq").value(&irq);
|
||||||
|
|
||||||
static unsigned dev_id = 0;
|
static unsigned dev_id = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user