lkml.org 
[lkml]   [2018]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 11/12] w1: replace non-standard %LX format-string by %llX
Date
As indicated by checkpatch.pl script.

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
---
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 87094d99ccbe..1326bd52888a 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -636,7 +636,7 @@ static int w1_uevent(struct device *dev, struct kobj_uevent_env *env)
if (err)
goto end;

- err = add_uevent_var(env, "W1_SLAVE_ID=%024LX",
+ err = add_uevent_var(env, "W1_SLAVE_ID=%024llX",
(unsigned long long)sl->reg_num.id);
end:
return err;
--
2.11.0
\
 
 \ /
  Last update: 2018-10-29 04:06    [W:0.072 / U:3.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site