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: <66805adb7db117206d4c0c943024dbac@208suo.com>
Date:   Wed, 12 Jul 2023 14:16:51 +0800
From:   hanyu001@...suo.com
To:     sre@...nel.org
Cc:     linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: [PATCH] power: supply: Fix errors

Fix the below checkpatch errors:

drivers/power/supply/ab8500_bmdata.c:186: ERROR: that open brace { 
should be on the previous line
drivers/power/supply/ab8500_bmdata.c:192: ERROR: that open brace { 
should be on the previous line

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  drivers/power/supply/ab8500_bmdata.c | 6 ++----
  1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/power/supply/ab8500_bmdata.c 
b/drivers/power/supply/ab8500_bmdata.c
index 3e6ea22..a092727 100644
--- a/drivers/power/supply/ab8500_bmdata.c
+++ b/drivers/power/supply/ab8500_bmdata.c
@@ -184,14 +184,12 @@ int ab8500_bm_of_probe(struct power_supply *psy,
      }

      if (bi->alert_low_temp_charge_current_ua < 0 ||
-        bi->alert_low_temp_charge_voltage_uv < 0)
-    {
+        bi->alert_low_temp_charge_voltage_uv < 0){
          bi->alert_low_temp_charge_current_ua = 300000;
          bi->alert_low_temp_charge_voltage_uv = 4000000;
      }
      if (bi->alert_high_temp_charge_current_ua < 0 ||
-        bi->alert_high_temp_charge_voltage_uv < 0)
-    {
+        bi->alert_high_temp_charge_voltage_uv < 0){
          bi->alert_high_temp_charge_current_ua = 300000;
          bi->alert_high_temp_charge_voltage_uv = 4000000;
      }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ