[alsa-devel] [PATCH 2/4] soundwire: cdns: fix check for number of messages

Srinivas Kandagatla srinivas.kandagatla at linaro.org
Fri Mar 29 11:06:32 CET 2019



On 29/03/2019 05:54, Vinod Koul wrote:
>>> is that the defer structure is actually modified below this code (not
>>> shown in the diff) to set defer>length = msg->len, so testing before the
>>> value is set looks more suspicious than the current code.
>> removing the length field in defer should get rid of such instances.
> Right!
I will go ahead and post the cleanup patch to get rid of 
confusing/redundant length field in defer.

Thanks,
srini


More information about the Alsa-devel mailing list