Skip to content
Commit f870d11f authored by Mikael's avatar Mikael
Browse files

Fix Rpmsg constructor not initializing members



The constructor for the Rpmsg class does not zero-initialize its member
variables. This causes issues with the remoteproc library because it
thinks function pointers in the variables are set to valid functions
when they are actually just uninitialized values and using these
function pointer causes crashes and unexpected behavior.

To resolve this, the Rpmsg class constructor has been changed to
zero-initialize all its member variables.

Change-Id: Ic34fd52bc39ed3018e5f67474949f10adc8cb7a8
Signed-off-by: Mikael's avatarMikael Olsson <mikael.olsson@arm.com>
parent 10ecba81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment