diff options
author | Mark Brown <broonie@kernel.org> | 2023-08-10 01:19:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-10 01:19:02 +0200 |
commit | 81113108491edc277d61337ea410c5f89d85faa3 (patch) | |
tree | 2bce8a3c2bd7ad8bd46674cd34ddde5ba1073417 /sound/soc/sof/ipc3.c | |
parent | ASoC: cs35l56: Bugfixes (diff) | |
parent | ASoC: SOF: ipc4-topology: Update the basecfg for copier earlier (diff) | |
download | linux-81113108491edc277d61337ea410c5f89d85faa3.tar.xz linux-81113108491edc277d61337ea410c5f89d85faa3.zip |
ASoC: Merge up fixes
For the benefit of CI
Diffstat (limited to 'sound/soc/sof/ipc3.c')
-rw-r--r-- | sound/soc/sof/ipc3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/ipc3.c b/sound/soc/sof/ipc3.c index 09834205b119..33df028d4854 100644 --- a/sound/soc/sof/ipc3.c +++ b/sound/soc/sof/ipc3.c @@ -1001,7 +1001,7 @@ void sof_ipc3_do_rx_work(struct snd_sof_dev *sdev, struct sof_ipc_cmd_hdr *hdr, ipc3_log_header(sdev->dev, "ipc rx", hdr->cmd); - if (hdr->size < sizeof(hdr) || hdr->size > SOF_IPC_MSG_MAX_SIZE) { + if (hdr->size < sizeof(*hdr) || hdr->size > SOF_IPC_MSG_MAX_SIZE) { dev_err(sdev->dev, "The received message size is invalid: %u\n", hdr->size); return; |