<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/ftsteutates.c, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-12-16T23:13:46Z</updated>
<entry>
<title>hwmon: (ftsteutates) Use permission specific SENSOR[_DEVICE]_ATTR variants</title>
<updated>2018-12-16T23:13:46Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2018-12-10T22:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=626f5eaed15ab81e9ece29d3dc1cf9e5881110f3'/>
<id>urn:sha1:626f5eaed15ab81e9ece29d3dc1cf9e5881110f3</id>
<content type='text'>
Use SENSOR[_DEVICE]_ATTR[_2]_{RO,RW,WO} to simplify the source code,
to improve readbility, and to reduce the chance of inconsistencies.

Also replace any remaining S_&lt;PERMS&gt; in the driver with octal values.

The conversion was done automatically with coccinelle. The semantic patches
and the scripts used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches/hwmon/.

This patch does not introduce functional changes. It was verified by
compiling the old and new files and comparing text and data sizes.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ftsteutates) constify i2c_device_id</title>
<updated>2017-08-30T00:44:23Z</updated>
<author>
<name>Arvind Yadav</name>
</author>
<published>2017-08-19T19:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dad2e958a0b0e402adfd1546d15e7b628ac2c5a'/>
<id>urn:sha1:1dad2e958a0b0e402adfd1546d15e7b628ac2c5a</id>
<content type='text'>
i2c_device_id are not supposed to change at runtime. All functions
working with i2c_device_id provided by &lt;linux/i2c.h&gt; work with
const i2c_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ftsteutates) Fix clearing alarm sysfs entries</title>
<updated>2017-08-13T15:24:01Z</updated>
<author>
<name>Thilo Cestonaro</name>
</author>
<published>2017-08-03T09:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7576750f036b5ec913aac2a165ce75ab3b7beee3'/>
<id>urn:sha1:7576750f036b5ec913aac2a165ce75ab3b7beee3</id>
<content type='text'>
sysfs store functions should return the number of bytes written.
Returning zero results in an endless loop.

Fixes: 08426eda58e0 ("hwmon: Add driver for FTS BMC chip "Teutates"")
Signed-off-by: Thilo Cestonaro &lt;thilo.cestonaro@ts.fujitsu.com&gt;
[groeck: Clean up documentation change and description]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ftsteutates) Add i2c detect functionality</title>
<updated>2016-09-09T04:34:16Z</updated>
<author>
<name>Thilo Cestonaro</name>
</author>
<published>2016-08-16T11:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:51Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2016-07-25T22:01:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:12Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2016-07-20T12:06:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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:54Z</updated>
<author>
<name>Thilo Cestonaro</name>
</author>
<published>2016-07-18T11:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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>
