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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220321161223.2837-3-wsa+renesas@sang-engineering.com>
Date:   Mon, 21 Mar 2022 17:12:10 +0100
From:   Wolfram Sang <wsa+renesas@...g-engineering.com>
To:     linux-kernel@...r.kernel.org
Cc:     linux-renesas-soc@...r.kernel.org,
        Heiner Kallweit <hkallweit1@...il.com>,
        Wolfram Sang <wsa+renesas@...g-engineering.com>
Subject: [RFC PATCH 02/15] base: regmap: use new name 'usleep_autoyield' instead of 'fsleep'

The function was just renamed to be easier understandable. No functional
change.

Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
---
RFC, please do not apply yet

 drivers/base/regmap/regmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 8f9fe5fd4707..27c75611d177 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -2429,7 +2429,7 @@ static int _regmap_range_multi_paged_reg_write(struct regmap *map,
 
 				if (regs[i].delay_us) {
 					if (map->can_sleep)
-						fsleep(regs[i].delay_us);
+						usleep_autoyield(regs[i].delay_us);
 					else
 						udelay(regs[i].delay_us);
 				}
@@ -2470,7 +2470,7 @@ static int _regmap_multi_reg_write(struct regmap *map,
 
 			if (regs[i].delay_us) {
 				if (map->can_sleep)
-					fsleep(regs[i].delay_us);
+					usleep_autoyield(regs[i].delay_us);
 				else
 					udelay(regs[i].delay_us);
 			}
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ