[PATCH] ASoC: SOF: mediatek: mt8195: remove a redundant comparison of sram

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Dec 15 02:31:10 PST 2022


Il 15/12/22 07:10, YC Hung ha scritto:
> DSP SRAM is not used for audio shared buffer between host and DSP so
> TOTAL_SIZE_SHARED_SRAM_FROM_TAIL is zero. Remove the definition and
> redundant comparison to fix coverity "unsigned compared against 0".
> 
> Signed-off-by: YC Hung <yc.hung at mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angeloigoacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list