Re: [PATCH] ALSA: aoa: onyx: always initalize register read value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Jul 2019 09:14:22 +0200,
Johannes Berg wrote:
> 
> A lot of places in the driver use onyx_read_register() without
> checking the return value, and it's been working OK for ~10 years
> or so, so probably never fails ... Rather than trying to check the
> return value everywhere, which would be relatively intrusive, at
> least make sure we don't use an uninitialized value.
> 
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

Thanks, applied now with a correction of a typo in the subject line
and Fixes tag.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux