lkml.org 
[lkml]   [2023]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: codecs:rx-macro: Fixing uninitialized variables.
On Thu, Mar 16, 2023 at 09:52:49PM +0530, Ravulapati Vishnu Vardhan Rao wrote:

> {
> u16 hd2_scale_reg, hd2_enable_reg;
> + hd2_scale_reg = 0;
> + hd2_enable_reg = 0;
>
> switch (interp_idx) {
> case INTERP_HPHL:

This is just shutting the warning up, it's not like 0 is ever a sensible
value to use there.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-03-27 01:04    [W:0.031 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site