<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc, branch v2.6.26</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.26</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.26'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-06-11T23:13:45Z</updated>
<entry>
<title>thinkpad-acpi: fix LED handling on older ThinkPads</title>
<updated>2008-06-11T23:13:45Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2008-06-04T02:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24e45bbe695719dca8c20e03d386eb6ea86526b5'/>
<id>urn:sha1:24e45bbe695719dca8c20e03d386eb6ea86526b5</id>
<content type='text'>
The less tested codepaths for LED handling, used on ThinkPads 570, 600e/x,
770e, 770x, A21e, A2xm/p, T20-22, X20 and maybe a few others, would write
data to kernel memory it had no business touching, for leds number 3 and
above.  If one is lucky, that illegal write would cause an OOPS, but
chances are it would silently corrupt a byte.

The problem was introduced in commit af116101, "ACPI: thinkpad-acpi: add
sysfs led class support to thinkpad leds (v3.2)".

Fix the bug by refactoring the entire code to be far more obvious on what
it wants to do.  Also do some defensive "constification".

Issue reported by Karol Lewandowski &lt;lmctlx@gmail.com&gt; (he's an lucky guy
and got an OOPS instead of silent corruption :-) ).

Root cause of the OOPS identified by Adrian Bunk &lt;bunk@kernel.org&gt;.
Thanks, Adrian!

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Tested-by: Karol Lewandowski &lt;lmctlx@gmail.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thinkpad-acpi: fix initialization error paths</title>
<updated>2008-06-11T23:13:45Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2008-06-04T02:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9c0a76e16ee6648f4bd19563e9fe12a4f4fabba1'/>
<id>urn:sha1:9c0a76e16ee6648f4bd19563e9fe12a4f4fabba1</id>
<content type='text'>
Rework some subdriver init and exit handlers, in order to fix some
initialization error paths that were missing, or broken.

Hitting those bugs should be extremely rare in the real world, but should
that happen, thinkpad-acpi would fail to dealocate some resources and a
reboot might well be needed to be able to load the driver again.

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>thinkpad-acpi: SW_RADIO to SW_RFKILL_ALL rename</title>
<updated>2008-06-11T23:13:45Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2008-06-04T02:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=197a2cd907e3a5278a1cfd48c86402133f38a9ba'/>
<id>urn:sha1:197a2cd907e3a5278a1cfd48c86402133f38a9ba</id>
<content type='text'>
Rename SW_RADIO to SW_RFKILL_ALL in thinkpad-acpi code and docs, following
5adad0133907790c50283bf03271d920d6897043 "Input: rename SW_RADIO to
SW_RFKILL_ALL".

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>fujitsu-laptop: autoload module on Lifebook P1510D</title>
<updated>2008-06-06T18:29:09Z</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2008-06-06T05:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a361a82c10c20eff402d72ce83b66913d04894ee'/>
<id>urn:sha1:a361a82c10c20eff402d72ce83b66913d04894ee</id>
<content type='text'>
Signed-off-by: Dan Williams &lt;dcbw@redhat.com&gt;
Cc: Jonathan Woithe &lt;jwoithe@physics.adelaide.edu.au&gt;
Cc: Len Brown &lt;len.brown@intel.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb</title>
<updated>2008-06-04T15:08:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-06-04T15:08:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b5b60b821e0e97531df9b0ba295283ab5a8859a'/>
<id>urn:sha1:3b5b60b821e0e97531df9b0ba295283ab5a8859a</id>
<content type='text'>
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb:
  kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA
  kgdb: use common ascii helpers and put_unaligned_be32 helper
</content>
</entry>
<entry>
<title>acpi: fix sparse const errors</title>
<updated>2008-05-30T14:43:24Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-05-30T00:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3aa51fecdc941c859ed0515084323d3f997aa4a'/>
<id>urn:sha1:e3aa51fecdc941c859ed0515084323d3f997aa4a</id>
<content type='text'>
In this case we want a constant pointer to constant chars:

drivers/misc/thinkpad_acpi.c:3824:19: error: Just how const do you want this type to be?

Like the error says.

drivers/misc/thinkpad_acpi.c:3863:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3864:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3865:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3866:19: error: Just how const do you want this type to be?

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Acked-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>kgdbts: Use HW breakpoints with CONFIG_DEBUG_RODATA</title>
<updated>2008-05-28T17:49:57Z</updated>
<author>
<name>Jason Wessel</name>
<email>jason.wessel@windriver.com</email>
</author>
<published>2008-05-28T17:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b33cb815b565a94c654a0fe8e62e36f5b4053888'/>
<id>urn:sha1:b33cb815b565a94c654a0fe8e62e36f5b4053888</id>
<content type='text'>
Whenever CONFIG_DEBUG_RODATA is set in the kernel config many kernel
text sections become read-only, and the use of software breakpoints in
the kgdb tests will cause the kernel to fail to complete the start up.

Until such time that there is an official API for modifying read-only
text sections hardware breakpoints must be used to run the do_fork or
sys_open tests or the tests get skipped.

Also fix the duplicated include reported by:
Huang Weiyi &lt;weiyi.huang@gmail.com&gt;

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</content>
</entry>
<entry>
<title>kgdb: use common ascii helpers and put_unaligned_be32 helper</title>
<updated>2008-05-28T17:49:56Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-05-28T17:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=827e609b4581282b98bdf7666f6e93ff1bd1a63e'/>
<id>urn:sha1:827e609b4581282b98bdf7666f6e93ff1bd1a63e</id>
<content type='text'>
Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</content>
</entry>
<entry>
<title>drivers/misc/sgi-xp: replace partid_t with a short</title>
<updated>2008-05-13T15:02:23Z</updated>
<author>
<name>Dean Nelson</name>
<email>dcn@sgi.com</email>
</author>
<published>2008-05-12T21:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64d032ba434ad41586460811148f01511e5612f9'/>
<id>urn:sha1:64d032ba434ad41586460811148f01511e5612f9</id>
<content type='text'>
In preparation for supporting greater than 64 partitions replace partid_t by
short in drivers/misc/sgi-xp.

Signed-off-by: Dean Nelson &lt;dcn@sgi.com&gt;
Acked-by: Robin Holt &lt;holt@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/misc/sgi-xp: clean up return values</title>
<updated>2008-05-13T15:02:23Z</updated>
<author>
<name>Dean Nelson</name>
<email>dcn@sgi.com</email>
</author>
<published>2008-05-12T21:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=65c17b801e03e40acdca0cd34e8eb1b8a347b539'/>
<id>urn:sha1:65c17b801e03e40acdca0cd34e8eb1b8a347b539</id>
<content type='text'>
Make XP return values more generic to XP and not so tied to XPC by changing
enum xpc_retval to xp_retval, along with changing return value prefixes from
xpc to xp.  Also, cleanup a comment block that referenced some of these return
values as well as the handling of BTE related return values.

Signed-off-by: Dean Nelson &lt;dcn@sgi.com&gt;
Acked-by: Robin Holt &lt;holt@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
