linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/dd.c : Remove the initial value of the global variable
@ 2022-03-13  3:45 lizhe
  0 siblings, 0 replies; 4+ messages in thread
From: lizhe @ 2022-03-13  3:45 UTC (permalink / raw)
  To: gregkh, rafael, sensor1010; +Cc: linux-kernel

The global variable driver_deferred_probe_enable has
a default value of false and does not need to be
initialized to false

Signed-off-by: lizhe <sensor1010@163.com>
---
 drivers/base/dd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index f47cab21430f..7fcd895d49be 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
 	mutex_unlock(&deferred_probe_mutex);
 }
 
-static bool driver_deferred_probe_enable = false;
+static bool driver_deferred_probe_enable;
 /**
  * driver_deferred_probe_trigger() - Kick off re-probing deferred devices
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drivers/dd.c : Remove the initial value of the global variable
  2022-03-13  4:24 lizhe
@ 2022-03-13  8:12 ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2022-03-13  8:12 UTC (permalink / raw)
  To: lizhe
  Cc: adrian.hunter, cohuck, tomeu, grant.likely, dmitry.torokhov,
	andy.shevchenko, andrzej.hajda, geert, ulf.hansson, broonie,
	rafael, linux-kernel

On Sat, Mar 12, 2022 at 08:24:42PM -0800, lizhe wrote:
> The global variable driver_deferred_probe_enable has
> a default value of false and does not need to be
> initialized to false
> 
> Signed-off-by: lizhe <sensor1010@163.com>

Is this the full name you sign documents with?

Also, I got two different copies of this change, which one is correct?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] drivers/dd.c : Remove the initial value of the global variable
@ 2022-03-13  4:24 lizhe
  2022-03-13  8:12 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: lizhe @ 2022-03-13  4:24 UTC (permalink / raw)
  To: adrian.hunter, cohuck, tomeu, grant.likely, dmitry.torokhov,
	andy.shevchenko, andrzej.hajda, geert, ulf.hansson, broonie,
	gregkh, rafael, sensor1010
  Cc: linux-kernel

The global variable driver_deferred_probe_enable has
a default value of false and does not need to be
initialized to false

Signed-off-by: lizhe <sensor1010@163.com>
---
 drivers/base/dd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index f47cab21430f..7fcd895d49be 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
 	mutex_unlock(&deferred_probe_mutex);
 }
 
-static bool driver_deferred_probe_enable = false;
+static bool driver_deferred_probe_enable;
 /**
  * driver_deferred_probe_trigger() - Kick off re-probing deferred devices
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] drivers/dd.c :  Remove the initial value of the global variable
@ 2022-03-09 13:54 lizhe
  0 siblings, 0 replies; 4+ messages in thread
From: lizhe @ 2022-03-09 13:54 UTC (permalink / raw)
  To: gregkh, rafael; +Cc: linux-kernel, lizhe

The global variable driver_deferred_probe_enable has
a default value of false and does not need to be
initialized to false.

Signed-off-by: lizhe <sensor1010@163.com>
---
 drivers/base/dd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index f47cab21430f..7fcd895d49be 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -152,7 +152,7 @@ void driver_deferred_probe_del(struct device *dev)
 	mutex_unlock(&deferred_probe_mutex);
 }
 
-static bool driver_deferred_probe_enable = false;
+static bool driver_deferred_probe_enable;
 /**
  * driver_deferred_probe_trigger() - Kick off re-probing deferred devices
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-13  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-13  3:45 [PATCH] drivers/dd.c : Remove the initial value of the global variable lizhe
  -- strict thread matches above, loose matches on Subject: below --
2022-03-13  4:24 lizhe
2022-03-13  8:12 ` Greg KH
2022-03-09 13:54 lizhe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).