Re: [PATCH 01/10] ASoC: qcom: q6apm: fix array out of bounds on lpass ports
From: Krzysztof Kozlowski
Date: Fri Feb 06 2026 - 03:01:53 EST
On Thu, Feb 05, 2026 at 12:14:02PM -0500, Srinivas Kandagatla wrote:
> lpass ports numbers have been added but the apm driver never got updated
> with new max port value that it uses to store dai specific data.
>
> This will result in array out of bounds and weird driver behaviour.
> Fix this by adding a new LPASS_MAX_PORT which is can be used by driver
> instead of using number and any new port additional can only be done in
> one place, which should avoid these type of mistakes in future.
>
> Also update the driver to use this LPASS_MAX_PORT.
>
> Fixes: 55b5fb369c02 ("ASoC: dt-bindings: qcom,q6dsp-lpass-ports: Add USB_RX port")
> Cc: Stable@xxxxxxxxxxxxxxx
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
> ---
> include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h | 1 +
Why do you send this patch multiple times? I already replied to it.
NAK
And also impossible to reply via korg:
sendmail: server message: 550 5.1.1 <cnor+dt@xxxxxxxxxx>: Recipient address rejected: User unknown in local recipient table
Best regards,
Krzysztof