diff options
author | Dan Carpenter <error27@gmail.com> | 2023-01-19 15:58:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-20 12:51:47 +0100 |
commit | ea57680af47587397f5005d7758022441ed66d54 (patch) | |
tree | f113316585fbf13816f9fad3f5619383f588a45c /drivers/gpu/drm/bridge/synopsys | |
parent | ASoC: SOF: sof-audio: Fixes for widget prepare and (diff) | |
download | linux-ea57680af47587397f5005d7758022441ed66d54.tar.xz linux-ea57680af47587397f5005d7758022441ed66d54.zip |
ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
The "id" comes from the user. Change the type to unsigned to prevent
an array underflow.
Fixes: f4ea22f7aa75 ("ASoC: SOF: ipc4: Add support for mtrace log extraction")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/Y8laruWOEwOC/dx9@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys')
0 files changed, 0 insertions, 0 deletions