Re: [PATCH] ALSA: firewire-lib: fix uninitialized local variable

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

 



On Mon, 30 Jan 2023 15:15:32 +0100,
Takashi Sakamoto wrote:
> 
> The function local variable, curr_cycle_time is declared without
> initialization. When tracepoints event is not probed, it looks to be
> used as is. This commit fixes it. Fortunately, the value of local variable
> is not used unless the event is probed, thus this commit is for better
> coding.
> 
> Reported-by: Dan Carpenter <error27@xxxxxxxxx>
> Fixes: fef4e61b0b7 ("ALSA: firewire-lib: extend tracepoints event including CYCLE_TIME of 1394 OHCI")
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Thanks, applied now (with the correction of Fixes tag).


Takashi



[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