linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback)
@ 2019-05-16 12:01 Mariusz Bialonczyk
  2019-05-16 13:09 ` Jean-Francois Dagenais
  0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Bialonczyk @ 2019-05-16 12:01 UTC (permalink / raw)
  To: linux-kernel, greg; +Cc: Mariusz Bialonczyk, Jean-Francois Dagenais

Fix a typo in commit:
49695ac46861 w1: ds2408: reset on output_write retry with readback

Reported-by: Phil Elwell <phil@raspberrypi.org>
Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
---
 drivers/w1/slaves/w1_ds2408.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
index 92e8f0755b9a..edf0bc98012c 100644
--- a/drivers/w1/slaves/w1_ds2408.c
+++ b/drivers/w1/slaves/w1_ds2408.c
@@ -138,7 +138,7 @@ static ssize_t status_control_read(struct file *filp, struct kobject *kobj,
 		W1_F29_REG_CONTROL_AND_STATUS, buf);
 }
 
-#ifdef fCONFIG_W1_SLAVE_DS2408_READBACK
+#ifdef CONFIG_W1_SLAVE_DS2408_READBACK
 static bool optional_read_back_valid(struct w1_slave *sl, u8 expected)
 {
 	u8 w1_buf[3];
-- 
2.19.0.rc1


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

* Re: [PATCH] w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback)
  2019-05-16 12:01 [PATCH] w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback) Mariusz Bialonczyk
@ 2019-05-16 13:09 ` Jean-Francois Dagenais
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Francois Dagenais @ 2019-05-16 13:09 UTC (permalink / raw)
  To: Mariusz Bialonczyk; +Cc: linux-kernel, greg

Yikes! Human after all...

> On May 16, 2019, at 08:01, Mariusz Bialonczyk <manio@skyboo.net> wrote:
> 
> Fix a typo in commit:
> 49695ac46861 w1: ds2408: reset on output_write retry with readback
> 
> Reported-by: Phil Elwell <phil@raspberrypi.org>
> Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
> Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
> ---
> drivers/w1/slaves/w1_ds2408.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
> index 92e8f0755b9a..edf0bc98012c 100644
> --- a/drivers/w1/slaves/w1_ds2408.c
> +++ b/drivers/w1/slaves/w1_ds2408.c
> @@ -138,7 +138,7 @@ static ssize_t status_control_read(struct file *filp, struct kobject *kobj,
> 		W1_F29_REG_CONTROL_AND_STATUS, buf);
> }
> 
> -#ifdef fCONFIG_W1_SLAVE_DS2408_READBACK
> +#ifdef CONFIG_W1_SLAVE_DS2408_READBACK
> static bool optional_read_back_valid(struct w1_slave *sl, u8 expected)
> {
> 	u8 w1_buf[3];
> -- 
> 2.19.0.rc1
> 


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

end of thread, other threads:[~2019-05-16 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 12:01 [PATCH] w1: ds2408: Fix typo after 49695ac46861 (reset on output_write retry with readback) Mariusz Bialonczyk
2019-05-16 13:09 ` Jean-Francois Dagenais

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