mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
llcc_perfmon: Initialize variable before use
Initialize th variable before access. Change-Id: I2e55c7ffe3fbbe9996072e62f34532b4b6d133ee Signed-off-by: Avinash Philip <avinashp@codeaurora.org>
This commit is contained in:
parent
1d46207553
commit
9b79acf99c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||
|
|
@ -889,7 +889,7 @@ static void beac_event_config(struct llcc_perfmon_private *llcc_priv,
|
|||
bool enable)
|
||||
{
|
||||
uint32_t val = 0, mask_val;
|
||||
uint32_t valcfg = 0, mask_valcfg;
|
||||
uint32_t valcfg = 0, mask_valcfg = 0;
|
||||
unsigned int mc_cnt, offset;
|
||||
struct llcc_perfmon_counter_map *counter_map;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue