ipc: static_vrings: Zero config struct
Initialize the config struct to zero before passing down to OpenAMP. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
45af717a66
commit
e1e06d05fa
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ int ipc_rpmsg_init(struct ipc_rpmsg_instance *instance,
|
|||
}
|
||||
|
||||
if (role == RPMSG_HOST) {
|
||||
struct rpmsg_virtio_config config;
|
||||
struct rpmsg_virtio_config config = { 0 };
|
||||
|
||||
config.h2r_buf_size = (uint32_t) buffer_size;
|
||||
config.r2h_buf_size = (uint32_t) buffer_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue