All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20200131061537.9zc7Bjgih%akpm@linux-foundation.org>

diff --git a/a/1.txt b/N1/1.txt
index ee185cc..1df4da1 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -58,4 +58,12 @@ Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  	if (err < 0)
  		return err;
  
--	value = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;
\ No newline at end of file
+-	value = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;
+-
+-	return sprintf(buf, "%d\n", value);
++	return sprintf(buf, "%ld\n",
++		       deci_kelvin_to_millicelsius(value & 0xFFFF));
+ }
+ 
+ /* Fan1 */
+_
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 647d1d0..7f90d4b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -107,7 +107,15 @@
   " \tif (err < 0)\n",
   " \t\treturn err;\n",
   " \n",
-  "-\tvalue = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;"
+  "-\tvalue = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;\n",
+  "-\n",
+  "-\treturn sprintf(buf, \"%d\\n\", value);\n",
+  "+\treturn sprintf(buf, \"%ld\\n\",\n",
+  "+\t\t       deci_kelvin_to_millicelsius(value & 0xFFFF));\n",
+  " }\n",
+  " \n",
+  " /* Fan1 */\n",
+  "_"
 ]
 
-0045951f1285ebf77acb41eb13462c6b3b22f2a6f642d4978960946399b011e3
+8a14812dec2018879879ee1ecb7389915b6f5497237d81039ffca5f477a60234

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.