Add missing assignment forgotten in r365899

Noticed by:	mav
MFC after:	1 month
MFC with:	r365899
This commit is contained in:
Michal Meloun 2020-09-20 15:11:52 +00:00
parent c4bcfe98e2
commit 3182062142
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365926
5 changed files with 5 additions and 0 deletions

View File

@ -754,6 +754,7 @@ void generic_bs_unimplemented(void);
{ \
type tmp; \
tmp = bus_space_read_##width(tag, hnd, offset); \
*value = (type)tmp; \
return (0); \
}
BUS_PEEK_FUNC(1, uint8_t)

View File

@ -696,6 +696,7 @@ void __bs_c(f,_bs_c_8) (void *t, bus_space_handle_t bsh1, \
{ \
type tmp; \
tmp = bus_space_read_##width(tag, hnd, offset); \
*value = (type)tmp; \
return (0); \
}
BUS_PEEK_FUNC(1, uint8_t)

View File

@ -469,6 +469,7 @@ extern struct bus_space bs_le_tag;
{ \
type tmp; \
tmp = bus_space_read_##width(tag, hnd, offset); \
*value = (type)tmp; \
return (0); \
}
BUS_PEEK_FUNC(1, uint8_t)

View File

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

View File

@ -1096,6 +1096,7 @@ bus_space_barrier(bus_space_tag_t tag __unused, bus_space_handle_t bsh __unused,
{ \
type tmp; \
tmp = bus_space_read_##width(tag, hnd, offset); \
*value = (type)tmp; \
return (0); \
}
BUS_PEEK_FUNC(1, uint8_t)