diff --git a/boards/sim/sim/sim/configs/rpproxy_virtio/defconfig b/boards/sim/sim/sim/configs/rpproxy_virtio/defconfig index f0bfad2d0f8..4530dc4c265 100644 --- a/boards/sim/sim/sim/configs/rpproxy_virtio/defconfig +++ b/boards/sim/sim/sim/configs/rpproxy_virtio/defconfig @@ -68,7 +68,6 @@ CONFIG_SCHED_WAITPID=y CONFIG_SENSORS=y CONFIG_SENSORS_RPMSG=y CONFIG_SIG_DEFAULT=y -CONFIG_SIM_M32=y CONFIG_SYSLOG_PREFIX=y CONFIG_SYSLOG_PREFIX_STRING="proxy" CONFIG_SYSLOG_RPMSG=y diff --git a/boards/sim/sim/sim/configs/rpserver_virtio/defconfig b/boards/sim/sim/sim/configs/rpserver_virtio/defconfig index 58c859085e2..3a2686b63d4 100644 --- a/boards/sim/sim/sim/configs/rpserver_virtio/defconfig +++ b/boards/sim/sim/sim/configs/rpserver_virtio/defconfig @@ -86,7 +86,6 @@ CONFIG_SENSORS=y CONFIG_SENSORS_RPMSG=y CONFIG_SIG_DEFAULT=y CONFIG_SIM_HOSTFS=y -CONFIG_SIM_M32=y CONFIG_SIM_NETDEV=y CONFIG_SIM_NET_BRIDGE=y CONFIG_SIM_RPMSG_MASTER=y diff --git a/drivers/ioexpander/ioe_rpmsg.c b/drivers/ioexpander/ioe_rpmsg.c index 9fe562798a6..ed68bd34c78 100644 --- a/drivers/ioexpander/ioe_rpmsg.c +++ b/drivers/ioexpander/ioe_rpmsg.c @@ -365,7 +365,7 @@ static void *ioe_rpmsg_attach(FAR struct ioexpander_dev_s *dev, (struct ioe_rpmsg_header_s *)&msg, sizeof(msg)); if (ret >= 0) { - return (FAR void *)(ret + 1); + return (FAR void *)((uintptr_t)(ret + 1)); } return NULL;