linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 1wire: family module autoload fails because of upper/lower case mismatch.
@ 2018-05-01 14:10 Ingo Flaschberger
  2018-05-01 18:54 ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Flaschberger @ 2018-05-01 14:10 UTC (permalink / raw)
  To: linux-kernel, zbr, gregkh

1wire family module autoload fails because of upper/lower
  case mismatch.

Signed-off-by: Ingo Flaschberger <ingo.flaschberger@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>

---
  drivers/w1/w1.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index ab0931e..aa458f2 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -741,7 +741,7 @@ int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
 
 	/* slave modules need to be loaded in a context with unlocked mutex */
 	mutex_unlock(&dev->mutex);
-	request_module("w1-family-0x%02x", rn->family);
+	request_module("w1-family-0x%02X", rn->family);
 	mutex_lock(&dev->mutex);
 
 	spin_lock(&w1_flock);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] 1wire: family module autoload fails because of upper/lower, case mismatch.
@ 2018-04-12  0:20 Ingo Flaschberger
  0 siblings, 0 replies; 4+ messages in thread
From: Ingo Flaschberger @ 2018-04-12  0:20 UTC (permalink / raw)
  To: Evgeniy Polyakov, linux-kernel

1wire family module autoload fails because of upper/lower
  case mismatch.

Signed-off-by: Ingo Flaschberger <ingo.flaschberger@gmail.com>

---
  drivers/w1/w1.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index ab0931e..aa458f2 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -741,7 +741,7 @@ int w1_attach_slave_device(struct w1_master *dev, 
struct w1_reg_num *rn)

         /* slave modules need to be loaded in a context with unlocked 
mutex */
         mutex_unlock(&dev->mutex);
-       request_module("w1-family-0x%02x", rn->family);
+       request_module("w1-family-0x%02X", rn->family);
         mutex_lock(&dev->mutex);

         spin_lock(&w1_flock);
-- 
2.7.4

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

end of thread, other threads:[~2018-05-01 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-01 14:10 [PATCH] 1wire: family module autoload fails because of upper/lower case mismatch Ingo Flaschberger
2018-05-01 18:54 ` Evgeniy Polyakov
2018-05-01 18:58   ` gregkh
  -- strict thread matches above, loose matches on Subject: below --
2018-04-12  0:20 [PATCH] 1wire: family module autoload fails because of upper/lower, " Ingo Flaschberger

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).