Fix one more OF_getprop_alloc instance missed in r332310

X-MFC-With:	r332310
This commit is contained in:
Oleksandr Tymoshenko 2018-04-08 23:17:51 +00:00
parent 217d17bcd3
commit b7dc17589b

View File

@ -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;