Re: [PATCH][next] ASoC: rt-sdw-common: Fix bit-wise or'ing of values into uninitialized variable ret

From: Mark Brown
Date: Tue Oct 08 2024 - 13:04:24 EST


On Tue, Oct 08, 2024 at 05:47:07PM +0100, Colin Ian King wrote:
> There are a handful of bit-wise or'ing of values into the uninitialized
> variable ret resulting in garbage results. Fix this by ininitializing
> ret to zero.

I'm very disappinted in the compiler for not noticing this :(

Attachment: signature.asc
Description: PGP signature