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 Olsson <mikael.olsson@arm.com>
Loading
Please register or sign in to comment