<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/sis5595.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-09-13T22:41:43Z</updated>
<entry>
<title>hwmon: (sis5595) Prevent overflow problem when writing large limits</title>
<updated>2014-09-13T22:41:43Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2014-07-31T14:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d362ea03048606016efe050bdcc46ff87ae4506'/>
<id>urn:sha1:0d362ea03048606016efe050bdcc46ff87ae4506</id>
<content type='text'>
commit cc336546ddca8c22de83720632431c16a5f9fe9a upstream.

On platforms with sizeof(int) &lt; sizeof(long), writing a temperature
limit larger than MAXINT will result in unpredictable limit values
written to the chip. Avoid auto-conversion from long to int to fix
the problem.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hwmon: Prevent some divide by zeros in FAN_TO_REG()</title>
<updated>2014-01-03T04:33:30Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2013-12-12T07:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf3f5a3dbf78b72541dc9f295101cb90a5465d5c'/>
<id>urn:sha1:cf3f5a3dbf78b72541dc9f295101cb90a5465d5c</id>
<content type='text'>
commit 3806b45ba4655147a011df03242cc197ab986c43 upstream.

The "rpm * div" operations can overflow here, so this patch adds an
upper limit to rpm to prevent that.  Jean Delvare helped me with this
patch.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hwmon: (sis5595) Use pr_fmt and pr_&lt;level&gt;</title>
<updated>2011-01-08T18:55:18Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2010-10-20T06:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b2515dbb94341db01db3208f9f40658c5e2a251'/>
<id>urn:sha1:4b2515dbb94341db01db3208f9f40658c5e2a251</id>
<content type='text'>
Added #define pr_fmt KBUILD_MODNAME ": " fmt
Converted printks to pr_&lt;level&gt;
Coalesced any long formats
Removed prefixes from formats

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: Make PCI device ids constant</title>
<updated>2010-01-10T19:52:35Z</updated>
<author>
<name>Márton Németh</name>
</author>
<published>2010-01-10T19:52:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3dd3a156355e7e6bec0dc9a0bbb6eeecbd965d50'/>
<id>urn:sha1:3dd3a156355e7e6bec0dc9a0bbb6eeecbd965d50</id>
<content type='text'>
The id_table field of the struct pci_driver is constant in &lt;linux/pci.h&gt;
so it is worth to make pci_device_id also constant.

The semantic match that finds this kind of pattern is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r@
identifier I1, I2, x;
@@
	struct I1 {
	  ...
	  const struct I2 *x;
	  ...
	};
@s@
identifier r.I1, y;
identifier r.x, E;
@@
	struct I1 y = {
	  .x = E,
	};
@c@
identifier r.I2;
identifier s.E;
@@
	const struct I2 E[] = ... ;
@depends on !c@
identifier r.I2;
identifier s.E;
@@
+	const
	struct I2 E[] = ...;
// &lt;/smpl&gt;

Signed-off-by: Márton Németh &lt;nm127@freemail.hu&gt;
Cc: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: Include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;</title>
<updated>2009-09-15T15:18:13Z</updated>
<author>
<name>H Hartley Sweeten</name>
</author>
<published>2009-09-15T15:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6055fae8aceee41471edfd1876e5617d16e028fe'/>
<id>urn:sha1:6055fae8aceee41471edfd1876e5617d16e028fe</id>
<content type='text'>
Drivers should be including &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Cc: Alistair John Strachan &lt;alistair@devzero.co.uk&gt;
Cc: Nicolas Boichat &lt;nicolas@boichat.ch&gt;
Cc: Juerg Haefliger &lt;juergh@gmail.com&gt;
Cc: Frank Seidel &lt;frank@f-seidel.de&gt;
Acked-by: Jim Cromie &lt;jim.cromie@gmail.com&gt;
Cc: "Mark M. Hoffman" &lt;mhoffman@lightlink.com&gt;
Cc: Roger Lucas &lt;vt8231@hiddenengine.co.uk&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: Check for ACPI resource conflicts</title>
<updated>2009-01-07T15:37:35Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2009-01-07T15:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9acb64a385c5b26fc392e0d58ac7b8e0a2cd812'/>
<id>urn:sha1:b9acb64a385c5b26fc392e0d58ac7b8e0a2cd812</id>
<content type='text'>
Check for ACPI resource conflicts in hwmon drivers. I've included
all Super-I/O and PCI drivers.

I've voluntarily left out:
* Vendor-specific drivers: if they conflicted on any system, this would
  pretty much mean that they conflict on all systems, and we would know
  by now.
* Legacy ISA drivers (lm78 and w83781d): they only support chips found
  on old designs were ACPI either wasn't supported or didn't deal with
  thermal management.
* Drivers accessing the I/O resources indirectly (e.g. through SMBus):
  the checks are already done where they belong, i.e. in the bus drivers.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Acked-by: David Hubbard &lt;david.c.hubbard@gmail.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (sis5595) Split sis5595_attributes_opt</title>
<updated>2007-11-08T13:42:45Z</updated>
<author>
<name>Ivo Manca</name>
</author>
<published>2007-10-15T11:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76e63860daedb302bddd707a765411c902d936bd'/>
<id>urn:sha1:76e63860daedb302bddd707a765411c902d936bd</id>
<content type='text'>
Use sysfs_create_group instead of individual calls to device_create_file by
splitting sis5595_attributes_opt into sis5595_attributes_in4 and
sis5595_attributes_temp1.

Signed-off-by: Ivo Manca &lt;pinkel@gmail.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mark M. Hoffman &lt;mhoffman@lightlink.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (sis5595) Add individual alarm files</title>
<updated>2007-11-08T13:42:45Z</updated>
<author>
<name>Ivo Manca</name>
</author>
<published>2007-10-15T18:50:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c726b3ba0d6692253a09d88c701f0c4b45ca248'/>
<id>urn:sha1:5c726b3ba0d6692253a09d88c701f0c4b45ca248</id>
<content type='text'>
Add individual alarm files needed by the new libsensors.

Signed-off-by: Ivo Manca &lt;pinkel@gmail.com&gt;
Acked-by: Jean Delvare &lt;khali@linux.org&gt;
Signed-off-by: Mark M. Hoffman &lt;mhoffman@lightlink.com&gt;
</content>
</entry>
<entry>
<title>Convert files to UTF-8 and some cleanups</title>
<updated>2007-10-19T21:21:04Z</updated>
<author>
<name>Jan Engelhardt</name>
</author>
<published>2007-10-19T21:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96de0e252cedffad61b3cb5e05662c591898e69a'/>
<id>urn:sha1:96de0e252cedffad61b3cb5e05662c591898e69a</id>
<content type='text'>
* Convert files to UTF-8.

  * Also correct some people's names
    (one example is Eißfeldt, which was found in a source file.
    Given that the author used an ß at all in a source file
    indicates that the real name has in fact a 'ß' and not an 'ss',
    which is commonly used as a substitute for 'ß' when limited to
    7bit.)

  * Correct town names (Goettingen -&gt; Göttingen)

  * Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (sis5595) fix sparse warning</title>
<updated>2007-10-14T18:57:35Z</updated>
<author>
<name>Mark M. Hoffman</name>
</author>
<published>2007-10-14T18:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5460a9d0ffc860a370631e096a8a6f3682f3fc94'/>
<id>urn:sha1:5460a9d0ffc860a370631e096a8a6f3682f3fc94</id>
<content type='text'>
Signed-off-by: Mark M. Hoffman &lt;mhoffman@lightlink.com&gt;
</content>
</entry>
</feed>
