From b95249cf5c79deb296e8b100fa87e7f4efd28bd8 Mon Sep 17 00:00:00 2001 From: Greg Savin <43152568+SiFiveGregS@users.noreply.github.com> Date: Mon, 22 Apr 2019 18:18:29 -0700 Subject: Fixed typo in comment. --- src/target/riscv/riscv-013.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 8516622..6d3273e 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -509,7 +509,7 @@ static dmi_status_t dmi_scan(struct target *target, uint32_t *address_in, before the JTAG queue gets executed, which is an error waiting to happen), or initializing outside of the check for whether a BSCAN tunnel was active (which would be a waste of CPU time when BSCAN tunnel is not being used. So I declared the - struct at the function's top-level, so it's lifetime exceeds the point at which + struct at the function's top-level, so its lifetime exceeds the point at which the queue is executed, and initializing with assignments here. */ memset(tunneled_dr, 0, sizeof(tunneled_dr)); tunneled_dr[0].num_bits = 1; -- cgit v1.1