<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/asus_oled, branch v3.3</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>Staging: asus_oled: fix NULL-ptr crash on unloading</title>
<updated>2012-02-08T22:14:13+00:00</updated>
<author>
<name>Pekka Paalanen</name>
<email>pq@iki.fi</email>
</author>
<published>2012-01-22T14:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=3589e74595a4332ebf77b5ed006f3c6686071ecd'/>
<id>3589e74595a4332ebf77b5ed006f3c6686071ecd</id>
<content type='text'>
Asus_oled triggers the following bug on module unloading:

 usbcore: deregistering interface driver asus-oled
 BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
 IP: [&lt;ffffffff8111292b&gt;] sysfs_delete_link+0x30/0x66

 Call Trace:
  [&lt;ffffffff81225373&gt;] device_remove_class_symlinks+0x6b/0x70
  [&lt;ffffffff812256a8&gt;] device_del+0x9f/0x1ab
  [&lt;ffffffff812257c5&gt;] device_unregister+0x11/0x1e
  [&lt;ffffffffa000cb82&gt;] asus_oled_disconnect+0x4f/0x9e [asus_oled]
  [&lt;ffffffff81277430&gt;] usb_unbind_interface+0x54/0x103
  [&lt;ffffffff812276c4&gt;] __device_release_driver+0xa2/0xeb
  [&lt;ffffffff81227794&gt;] driver_detach+0x87/0xad
  [&lt;ffffffff812269e9&gt;] bus_remove_driver+0x91/0xc1
  [&lt;ffffffff81227fb4&gt;] driver_unregister+0x66/0x6e
  [&lt;ffffffff812771ed&gt;] usb_deregister+0xbb/0xc4
  [&lt;ffffffffa000ce87&gt;] asus_oled_exit+0x2f/0x31 [asus_oled]
  [&lt;ffffffff81068365&gt;] sys_delete_module+0x1b8/0x21b
  [&lt;ffffffff810ae3de&gt;] ? do_munmap+0x2ef/0x313
  [&lt;ffffffff813699bb&gt;] system_call_fastpath+0x16/0x1b

This is due to an incorrect destruction sequence in asus_oled_exit().

Fix the order, fixes the bug. Tested on an Asus G50V laptop only.

Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Signed-off-by: Pekka Paalanen &lt;pq@iki.fi&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Asus_oled triggers the following bug on module unloading:

 usbcore: deregistering interface driver asus-oled
 BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
 IP: [&lt;ffffffff8111292b&gt;] sysfs_delete_link+0x30/0x66

 Call Trace:
  [&lt;ffffffff81225373&gt;] device_remove_class_symlinks+0x6b/0x70
  [&lt;ffffffff812256a8&gt;] device_del+0x9f/0x1ab
  [&lt;ffffffff812257c5&gt;] device_unregister+0x11/0x1e
  [&lt;ffffffffa000cb82&gt;] asus_oled_disconnect+0x4f/0x9e [asus_oled]
  [&lt;ffffffff81277430&gt;] usb_unbind_interface+0x54/0x103
  [&lt;ffffffff812276c4&gt;] __device_release_driver+0xa2/0xeb
  [&lt;ffffffff81227794&gt;] driver_detach+0x87/0xad
  [&lt;ffffffff812269e9&gt;] bus_remove_driver+0x91/0xc1
  [&lt;ffffffff81227fb4&gt;] driver_unregister+0x66/0x6e
  [&lt;ffffffff812771ed&gt;] usb_deregister+0xbb/0xc4
  [&lt;ffffffffa000ce87&gt;] asus_oled_exit+0x2f/0x31 [asus_oled]
  [&lt;ffffffff81068365&gt;] sys_delete_module+0x1b8/0x21b
  [&lt;ffffffff810ae3de&gt;] ? do_munmap+0x2ef/0x313
  [&lt;ffffffff813699bb&gt;] system_call_fastpath+0x16/0x1b

This is due to an incorrect destruction sequence in asus_oled_exit().

Fix the order, fixes the bug. Tested on an Asus G50V laptop only.

Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Signed-off-by: Pekka Paalanen &lt;pq@iki.fi&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: fix image processing</title>
<updated>2012-02-08T22:14:13+00:00</updated>
<author>
<name>Pekka Paalanen</name>
<email>pq@iki.fi</email>
</author>
<published>2012-01-22T14:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=635032cb397b396241372fa0ff36ae758e658b23'/>
<id>635032cb397b396241372fa0ff36ae758e658b23</id>
<content type='text'>
Programming an image was broken, because odev-&gt;buf_offs was not advanced
for val == 0 in append_values(). This regression was introduced in:

 commit 1ff12a4aa354bed093a0240d5e6347b1e27601bc
 Author: Kevin A. Granade &lt;kevin.granade@gmail.com&gt;
 Date:   Sat Sep 5 01:03:39 2009 -0500

     Staging: asus_oled: Cleaned up checkpatch issues.

Fix the image processing by special-casing val == 0.

I have tested this change on an Asus G50V laptop only.

Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: Kevin A. Granade &lt;kevin.granade@gmail.com&gt;
Signed-off-by: Pekka Paalanen &lt;pq@iki.fi&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Programming an image was broken, because odev-&gt;buf_offs was not advanced
for val == 0 in append_values(). This regression was introduced in:

 commit 1ff12a4aa354bed093a0240d5e6347b1e27601bc
 Author: Kevin A. Granade &lt;kevin.granade@gmail.com&gt;
 Date:   Sat Sep 5 01:03:39 2009 -0500

     Staging: asus_oled: Cleaned up checkpatch issues.

Fix the image processing by special-casing val == 0.

I have tested this change on an Asus G50V laptop only.

Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: Kevin A. Granade &lt;kevin.granade@gmail.com&gt;
Signed-off-by: Pekka Paalanen &lt;pq@iki.fi&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: Fixed use of obsolete function.</title>
<updated>2011-11-27T02:13:54+00:00</updated>
<author>
<name>Ken O'Brien</name>
<email>kernel@kenobrien.org</email>
</author>
<published>2011-11-19T01:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=67d6baa401e2485f6d12658b836befe1df247a04'/>
<id>67d6baa401e2485f6d12658b836befe1df247a04</id>
<content type='text'>
Removed use of obsolete function "strict_strtoul". Replaced with "kstrtoul"
as suggested by checkpatch.pl

Signed-off-by: Ken O'Brien &lt;kernel@kenobrien.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed use of obsolete function "strict_strtoul". Replaced with "kstrtoul"
as suggested by checkpatch.pl

Signed-off-by: Ken O'Brien &lt;kernel@kenobrien.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: Merge 2.6.37-rc5 into staging-next</title>
<updated>2010-12-07T18:47:56+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-12-07T18:47:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ea3398a1ae54cd3403f3cc0f6aa498c7452c681a'/>
<id>ea3398a1ae54cd3403f3cc0f6aa498c7452c681a</id>
<content type='text'>
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly.  It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly.  It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: fix up my fixup for some sysfs attribute permissions</title>
<updated>2010-11-18T19:27:18+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-11-18T19:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=515b4987ccd097cdf5416530b05fdf9e01afe95a'/>
<id>515b4987ccd097cdf5416530b05fdf9e01afe95a</id>
<content type='text'>
They should be writable by root, not readable.
Doh, stupid me with the wrong flags.

Reported-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They should be writable by root, not readable.
Doh, stupid me with the wrong flags.

Reported-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: fix up some sysfs attribute permissions</title>
<updated>2010-11-16T19:17:01+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-11-16T19:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=590b0b9754bd8928926bae7194b6da7ead9bda3b'/>
<id>590b0b9754bd8928926bae7194b6da7ead9bda3b</id>
<content type='text'>
They should not be writable by any user

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They should not be writable by any user

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Jakub Schmidtke &lt;sjakub@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: fix coding style issue in asus_oled.c</title>
<updated>2010-11-10T00:37:17+00:00</updated>
<author>
<name>Johan Meiring</name>
<email>johanmeiring@gmail.com</email>
</author>
<published>2010-11-06T16:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=9f027eb6871335f6e16633df796263f983f08844'/>
<id>9f027eb6871335f6e16633df796263f983f08844</id>
<content type='text'>
This is a patch to the asus_oled.c file that fixes up brace and enum
warning found by the checkpatch.pl tool

Signed-off-by: Johan Meiring &lt;johanmeiring@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a patch to the asus_oled.c file that fixes up brace and enum
warning found by the checkpatch.pl tool

Signed-off-by: Johan Meiring &lt;johanmeiring@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update broken web addresses in the kernel.</title>
<updated>2010-10-18T09:03:14+00:00</updated>
<author>
<name>Justin P. Mattock</name>
<email>justinmattock@gmail.com</email>
</author>
<published>2010-10-18T09:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=631dd1a885b6d7e9f6f51b4e5b311c2bb04c323c'/>
<id>631dd1a885b6d7e9f6f51b4e5b311c2bb04c323c</id>
<content type='text'>
The patch below updates broken web addresses in the kernel

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Cc: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Finn Thain &lt;fthain@telegraphics.com.au&gt;
Cc: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Cc: Matt Turner &lt;mattst88@gmail.com&gt;
Cc: Dimitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Acked-by: Ben Pfaff &lt;blp@cs.stanford.edu&gt;
Acked-by: Hans J. Koch &lt;hjk@linutronix.de&gt;
Reviewed-by: Finn Thain &lt;fthain@telegraphics.com.au&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The patch below updates broken web addresses in the kernel

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Cc: Maciej W. Rozycki &lt;macro@linux-mips.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Finn Thain &lt;fthain@telegraphics.com.au&gt;
Cc: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Cc: Matt Turner &lt;mattst88@gmail.com&gt;
Cc: Dimitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Cc: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Acked-by: Ben Pfaff &lt;blp@cs.stanford.edu&gt;
Acked-by: Hans J. Koch &lt;hjk@linutronix.de&gt;
Reviewed-by: Finn Thain &lt;fthain@telegraphics.com.au&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: asus_oled: asus_oled.c: Checkpatch cleanup</title>
<updated>2010-05-11T18:35:30+00:00</updated>
<author>
<name>Andrea Gelmini</name>
<email>andrea.gelmini@gelma.net</email>
</author>
<published>2010-02-28T23:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e67fdbc3ed1522c2594bf5040eaaeed5027e8ccb'/>
<id>e67fdbc3ed1522c2594bf5040eaaeed5027e8ccb</id>
<content type='text'>
drivers/staging/asus_oled/asus_oled.c:774: ERROR: code indent should use tabs where possible

Signed-off-by: Andrea Gelmini &lt;andrea.gelmini@gelma.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
drivers/staging/asus_oled/asus_oled.c:774: ERROR: code indent should use tabs where possible

Signed-off-by: Andrea Gelmini &lt;andrea.gelmini@gelma.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>driver core: Convert some drivers to CLASS_ATTR_STRING</title>
<updated>2010-03-08T01:04:48+00:00</updated>
<author>
<name>Andi Kleen</name>
<email>andi@firstfloor.org</email>
</author>
<published>2010-01-05T11:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=0933e2d98d1b170ef62d48e18157f5dc43b58217'/>
<id>0933e2d98d1b170ef62d48e18157f5dc43b58217</id>
<content type='text'>
Convert some drivers who export a single string as class attribute
to the new class_attr_string functions. This removes redundant
code all over.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert some drivers who export a single string as class attribute
to the new class_attr_string functions. This removes redundant
code all over.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
</feed>
