aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2018-04-08 23:17:51 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2018-04-08 23:17:51 +0000
commitb7dc17589b916f54043de4fcbab8e59ccaee435c (patch)
tree62f53cfdf6d52f9ecd672d4a533034994c890227 /sys/arm64
parent217d17bcd3f525fbdf124cfbc926f8033da69805 (diff)
downloadsrc-b7dc17589b916f54043de4fcbab8e59ccaee435c.tar.gz
src-b7dc17589b916f54043de4fcbab8e59ccaee435c.zip
Fix one more OF_getprop_alloc instance missed in r332310
X-MFC-With: r332310
Notes
Notes: svn path=/head/; revision=332311
Diffstat (limited to 'sys/arm64')
-rw-r--r--sys/arm64/coresight/coresight.c2
1 files changed, 1 insertions, 1 deletions
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;