<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/lm78.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:41Z</updated>
<entry>
<title>hwmon: (lm78) Fix overflow problems seen when writing large temperature limits</title>
<updated>2014-09-13T22:41:41Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2014-07-30T03:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48371f90fbbc3aec891825ad3242d7ef723802b7'/>
<id>urn:sha1:48371f90fbbc3aec891825ad3242d7ef723802b7</id>
<content type='text'>
commit 1074d683a51f1aded3562add9ef313e75d557327 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.

Cc: Axel Lin &lt;axel.lin@ingics.com&gt;
Reviewed-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
[bwh: Backported to 3.2: adjust context]
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: (lm78) Become the maintainer</title>
<updated>2011-07-25T19:46:11Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-25T19:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=156e2d1adc03e17f18f98d297f7757fc6d93a589'/>
<id>urn:sha1:156e2d1adc03e17f18f98d297f7757fc6d93a589</id>
<content type='text'>
Declare myself the maintainer of the lm78 driver. I still have a
running system with one of these chips.

Also count myself as a co-author of the driver. With 34 commits over
6 years, it seems fair.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm78) Make ISA interface depend on CONFIG_ISA</title>
<updated>2011-07-25T19:46:11Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-25T19:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90534c5c5e535d7bf78a4efdbd0999e04b57d6e3'/>
<id>urn:sha1:90534c5c5e535d7bf78a4efdbd0999e04b57d6e3</id>
<content type='text'>
We should only include support for the ISA interface of the LM78/LM79
if CONFIG_ISA is set. Not only this makes the driver somewhat smaller
on most architectures, but this also avoids poking at random I/O
ports on these architectures.

This is very similiar to what was done for the w83781d driver in
October 2008.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Dean Nelson &lt;dnelson@redhat.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm78) Avoid forward declarations</title>
<updated>2011-07-25T19:46:11Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-25T19:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed4cebdf9cfbf5f97f388ae7f2ac2b24fc362a39'/>
<id>urn:sha1:ed4cebdf9cfbf5f97f388ae7f2ac2b24fc362a39</id>
<content type='text'>
Move code around to avoid several forward declarations. Also group
ISA-related functions together, to make future changes easier.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Dean Nelson &lt;dnelson@redhat.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm78) Use pr_fmt and pr_&lt;level&gt;</title>
<updated>2011-01-12T20:55:10Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2011-01-12T20:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce47da742ddd950197c29df6f9f89cf8adb5a0a1'/>
<id>urn:sha1:ce47da742ddd950197c29df6f9f89cf8adb5a0a1</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: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm78) Request I/O ports individually for probing</title>
<updated>2010-02-05T18:58:36Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2010-02-05T18:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=197027e6ef830d60e10f76efc8d12bf3b6c35db5'/>
<id>urn:sha1:197027e6ef830d60e10f76efc8d12bf3b6c35db5</id>
<content type='text'>
Different motherboards have different PNP declarations for LM78/LM79
chips. Some declare the whole range of I/O ports (8 ports), some
declare only the useful ports (2 ports at offset 5) and some declare
fancy ranges, for example 4 ports at offset 4. To properly handle all
cases, request all ports individually for probing. After we have
determined that we really have an LM78 or LM79 chip, the useful port
range will be requested again, as a single block.

This fixes the driver on the Olivetti M3000 DT 540, at least.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>i2c: Drop I2C_CLIENT_INSMOD_2 to 8</title>
<updated>2009-12-14T20:17:27Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2009-12-14T20:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5e9f44c246fbafe723e579e9fe887677beb40e4'/>
<id>urn:sha1:e5e9f44c246fbafe723e579e9fe887677beb40e4</id>
<content type='text'>
These macros simply declare an enum, so drivers might as well declare
it themselves. This puts an end to the arbitrary limit of 8 chip types
per i2c driver.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c: Get rid of struct i2c_client_address_data</title>
<updated>2009-12-14T20:17:25Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2009-12-14T20:17:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3813d6af177fab19e322f3114b1f64fbcf08d71'/>
<id>urn:sha1:c3813d6af177fab19e322f3114b1f64fbcf08d71</id>
<content type='text'>
Struct i2c_client_address_data only contains one field at this point,
which makes its usefulness questionable. Get rid of it and pass simple
address lists around instead.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c: Drop the kind parameter from detect callbacks</title>
<updated>2009-12-14T20:17:23Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2009-12-14T20:17:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=310ec79210d754afe51e2e4a983e846b60179abd'/>
<id>urn:sha1:310ec79210d754afe51e2e4a983e846b60179abd</id>
<content type='text'>
The "kind" parameter always has value -1, and nobody is using it any
longer, so we can remove it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
</feed>
