Skip to content
Commit 1bc51640 authored by Kai Vehmanen's avatar Kai Vehmanen Committed by Anas Nashif
Browse files

shell: shell_adsp_memory_window: fix invalid cast in struct init



Fix invalid cast in SHELL_ADSP_MEMORY_WINDOW_DEFINE(). The type used in
the cast (struct shell_memwindow) refers to a non-existant type. As the
initialized struct field is of type "void *", compiler does not complain
about it, so there were no build warning/errors seen.

Reported-by: default avatarJyri Sarha <jyri.sarha@linux.intel.com>
Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
parent f1410959
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment