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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240711150545.3143-1-sensor1010@163.com>
Date: Thu, 11 Jul 2024 08:05:45 -0700
From: 李哲 <sensor1010@....com>
To: gregkh@...uxfoundation.org,
	rafael@...nel.org
Cc: linux-kernel@...r.kernel.org,
	李哲 <sensor1010@....com>
Subject: [PATCH] driver:core: no need to set a default value for want_async

The default value of this member variable is false,
which is only set to true when asynchronous loading is required,
and does not need to be set to false during synchronization

Signed-off-by: 李哲 <sensor1010@....com>
---
 drivers/base/dd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index d047919d1f5e..47351d98f6e1 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -1014,7 +1014,6 @@ static int __device_attach(struct device *dev, bool allow_async)
 		struct device_attach_data data = {
 			.dev = dev,
 			.check_async = allow_async,
-			.want_async = false,
 		};
 
 		if (dev->parent)
-- 
2.17.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ