aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/include
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2020-09-20 15:11:52 +0000
committerMichal Meloun <mmel@FreeBSD.org>2020-09-20 15:11:52 +0000
commit3182062142ede29460c137b03b4bf6548292ec2d (patch)
treec34b5741a9b4af8d6e2ef3db552cdc236832eb22 /sys/riscv/include
parentc4bcfe98e2d66d08cfc1eae4681c6f7d0c105935 (diff)
downloadsrc-3182062142ede29460c137b03b4bf6548292ec2d.tar.gz
src-3182062142ede29460c137b03b4bf6548292ec2d.zip
Add missing assignment forgotten in r365899
Noticed by: mav MFC after: 1 month MFC with: r365899
Notes
Notes: svn path=/head/; revision=365926
Diffstat (limited to 'sys/riscv/include')
-rw-r--r--sys/riscv/include/bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/riscv/include/bus.h b/sys/riscv/include/bus.h
index e352b393c25d..980aa2af30a8 100644
--- a/sys/riscv/include/bus.h
+++ b/sys/riscv/include/bus.h
@@ -458,6 +458,7 @@ struct bus_space {
{ \
type tmp; \
tmp = bus_space_read_##width(tag, hnd, offset); \
+ *value = (type)tmp; \
return (0); \
}
BUS_PEEK_FUNC(1, uint8_t)