Fix one more OF_getprop_alloc instance missed in r332310
X-MFC-With: r332310
This commit is contained in:
parent
217d17bcd3
commit
b7dc17589b
@ -68,7 +68,7 @@ coresight_get_ports(phandle_t dev_node,
|
||||
node = dev_node;
|
||||
|
||||
for (child = OF_child(node); child != 0; child = OF_peer(child)) {
|
||||
ret = OF_getprop_alloc(child, "name", sizeof(*name), (void **)&name);
|
||||
ret = OF_getprop_alloc(child, "name", (void **)&name);
|
||||
if (ret == -1)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user