From b7dc17589b916f54043de4fcbab8e59ccaee435c Mon Sep 17 00:00:00 2001 From: Oleksandr Tymoshenko Date: Sun, 8 Apr 2018 23:17:51 +0000 Subject: [PATCH] Fix one more OF_getprop_alloc instance missed in r332310 X-MFC-With: r332310 --- sys/arm64/coresight/coresight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/coresight/coresight.c b/sys/arm64/coresight/coresight.c index 4f520ce70ca3..9a1f51701b87 100644 --- a/sys/arm64/coresight/coresight.c +++ b/sys/arm64/coresight/coresight.c @@ -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;