lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f372ecd6bb8459641dfe89e3c7867237@208suo.com>
Date:   Wed, 14 Jun 2023 16:59:19 +0800
From:   baomingtong001@...suo.com
To:     rafael@...nel.org, daniel.lezcano@...aro.org, amitk@...nel.org,
        rui.zhang@...el.com, matthias.bgg@...il.com,
        angelogioacchino.delregno@...labora.com, bchihi@...libre.com,
        heiko@...ech.de, wenst@...omium.org
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drivers/thermal/mediatek/lvts_thermal: Remove unneeded
 semicolon

fix the following coccicheck warning:

./drivers/thermal/mediatek/lvts_thermal.c:522:2-3: Unneeded semicolon

Signed-off-by: Mingtong Bao <baomingtong001@...suo.com>
---
  drivers/thermal/mediatek/lvts_thermal.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/mediatek/lvts_thermal.c 
b/drivers/thermal/mediatek/lvts_thermal.c
index d0a3f95b7884..1a5ae51b2c51 100644
--- a/drivers/thermal/mediatek/lvts_thermal.c
+++ b/drivers/thermal/mediatek/lvts_thermal.c
@@ -519,7 +519,7 @@ static int lvts_sensor_init(struct device *dev, 
struct lvts_ctrl *lvts_ctrl,
           */
          lvts_sensor[i].msr = lvts_ctrl_data->mode == 
LVTS_MSR_IMMEDIATE_MODE ?
              imm_regs[i] : msr_regs[i];
-    };
+    }

      lvts_ctrl->num_lvts_sensor = lvts_ctrl_data->num_lvts_sensor;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ