<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/Documentation/laptops/hpfall.c, branch v3.14.41</title>
<subtitle>Clone of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/'/>
<entry>
<title>Documentation: Fix size parameter for snprintf</title>
<updated>2014-01-02T09:47:33+00:00</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2013-12-30T11:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=6e641c943fd5355592b7b955fe3d0f07c927a0aa'/>
<id>6e641c943fd5355592b7b955fe3d0f07c927a0aa</id>
<content type='text'>
cppcheck reports this error:

Documentation/laptops/hpfall.c:33]: (error)
 Dangerous usage of 'devname' (strncpy doesn't always 0-terminate it)

The terminating '\0' is needed for the global char array unload_heads_path,
so never write the last array entry (which is initially '\0').

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cppcheck reports this error:

Documentation/laptops/hpfall.c:33]: (error)
 Dangerous usage of 'devname' (strncpy doesn't always 0-terminate it)

The terminating '\0' is needed for the global char array unload_heads_path,
so never write the last array entry (which is initially '\0').

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move hp_accel to drivers/platform/x86</title>
<updated>2011-03-21T16:59:36+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2011-03-21T16:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=efcfed9bad88be8193ee6a1b8e72d7381e7b0e0e'/>
<id>efcfed9bad88be8193ee6a1b8e72d7381e7b0e0e</id>
<content type='text'>
The hp_accel driver isn't a hardware monitoring driver, so it doesn't
belong to drivers/hwmon. Move it to drivers/platform/x86, assuming HP
doesn't ship non-x86 laptops.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Acked-by: Eric Piel &lt;eric.piel@tremplin-utc.net&gt;
Acked-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Tested-by: Eric Piel &lt;eric.piel@tremplin-utc.net&gt;
Tested-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hp_accel driver isn't a hardware monitoring driver, so it doesn't
belong to drivers/hwmon. Move it to drivers/platform/x86, assuming HP
doesn't ship non-x86 laptops.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Acked-by: Eric Piel &lt;eric.piel@tremplin-utc.net&gt;
Acked-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Tested-by: Eric Piel &lt;eric.piel@tremplin-utc.net&gt;
Tested-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
