<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hwmon/ftsteutates.c, branch v4.9.331</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.9.331</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.9.331'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-09-09T04:34:16+00:00</updated>
<entry>
<title>hwmon: (ftsteutates) Add i2c detect functionality</title>
<updated>2016-09-09T04:34:16+00:00</updated>
<author>
<name>Thilo Cestonaro</name>
<email>thilo@cestona.ro</email>
</author>
<published>2016-08-16T11:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2d5aee433d9c5bb6075eb42039a21c5b3728d22d'/>
<id>urn:sha1:2d5aee433d9c5bb6075eb42039a21c5b3728d22d</id>
<content type='text'>
Signed-off-by: Thilo Cestonaro &lt;thilo@cestona.ro&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ftsteutates) Fix potential memory access error</title>
<updated>2016-07-31T22:02:51+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-07-25T22:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4c8702b3cd43322ca97fdc7f647e273a7388a0c6'/>
<id>urn:sha1:4c8702b3cd43322ca97fdc7f647e273a7388a0c6</id>
<content type='text'>
Using set_bit() to set a bit in an integer is not a good idea, since
the function expects an unsigned long as argument, which can be 64 bit
wide. Coverity reports this problem as

&gt;&gt;&gt;     CID 1364488:  Memory - illegal accesses  (INCOMPATIBLE_CAST)
&gt;&gt;&gt;     Pointer "&amp;ret" points to an object whose effective type is "int"
&gt;&gt;&gt;	(32 bits, signed) but is dereferenced as a wider "unsigned
+long" (64 bits, unsigned).  This may lead to memory corruption.
245                     set_bit(1, (unsigned long *)&amp;ret);

Just use BIT instead.

Cc: Thilo Cestonaro &lt;thilo@cestona.ro&gt;
Fixes: 08426eda58e0 ("hwmon: Add driver for FTS BMC chip "Teutates"")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ftsteutates) Remove unused including &lt;linux/version.h&gt;</title>
<updated>2016-07-20T14:12:12+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyj.lk@gmail.com</email>
</author>
<published>2016-07-20T12:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c55374cd862e3b42831c6001cbd9d28b0e182ed4'/>
<id>urn:sha1:c55374cd862e3b42831c6001cbd9d28b0e182ed4</id>
<content type='text'>
Remove including &lt;linux/version.h&gt; that don't need it.

Signed-off-by: Wei Yongjun &lt;weiyj.lk@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Add driver for FTS BMC chip "Teutates"</title>
<updated>2016-07-20T13:29:54+00:00</updated>
<author>
<name>Thilo Cestonaro</name>
<email>thilo@cestona.ro</email>
</author>
<published>2016-07-18T11:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08426eda58e07af44aac7c9900ec8a6a62e16b2f'/>
<id>urn:sha1:08426eda58e07af44aac7c9900ec8a6a62e16b2f</id>
<content type='text'>
This driver implements hardware monitoring and watchdog support
for the FTS BMC Chip "Teutates".

Signed-off-by: Thilo Cestonaro &lt;thilo@cestona.ro&gt;
[groeck: Updated subject and description; fixed dependencies]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
