<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/ipack/devices, branch v3.6</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>Staging: ipack/devices/ipoctal: initialize the device in probe function</title>
<updated>2012-07-17T02:11:37+00:00</updated>
<author>
<name>Samuel Iglesias Gonsálvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-07-13T11:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=4eed84a8a4731e37254a10adfaad76e69e236b8c'/>
<id>4eed84a8a4731e37254a10adfaad76e69e236b8c</id>
<content type='text'>
Initialize the device when registering it. Sometimes the user access to it
and the device is in an unknown state, so it could fail.

Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialize the device when registering it. Sometimes the user access to it
and the device is in an unknown state, so it could fail.

Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: fix dereference NULL pointer</title>
<updated>2012-07-17T02:11:37+00:00</updated>
<author>
<name>Samuel Iglesias Gonsálvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-07-13T11:33:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1337b07e664c5a40ae0c5cbc13f5da4cf37c870c'/>
<id>1337b07e664c5a40ae0c5cbc13f5da4cf37c870c</id>
<content type='text'>
After opening and closing the file /dev/ipoctal.X.Y.Z for the second time, it
gives a kernel oops due to a dereference of a NULL pointer.

The problem was that tty-&gt;driver_data was not properly initialized when
accessing the file for the second time.

Reported-by: Alberto Garcia Gonzalez &lt;agarcia@igalia.com&gt;
Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After opening and closing the file /dev/ipoctal.X.Y.Z for the second time, it
gives a kernel oops due to a dereference of a NULL pointer.

The problem was that tty-&gt;driver_data was not properly initialized when
accessing the file for the second time.

Reported-by: Alberto Garcia Gonzalez &lt;agarcia@igalia.com&gt;
Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: save IRQ vector in MEM space</title>
<updated>2012-07-06T23:21:54+00:00</updated>
<author>
<name>Samuel Iglesias Gonsálvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-07-04T14:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7183f337fef677165d3dbd09a42ee9578c94f890'/>
<id>7183f337fef677165d3dbd09a42ee9578c94f890</id>
<content type='text'>
The IRQ vector should be saved in MEM space base address according to the
datasheet.

Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The IRQ vector should be saved in MEM space base address according to the
datasheet.

Signed-off-by: Samuel Iglesias Gonsálvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: remove unneeded lock in IRQ handler</title>
<updated>2012-06-25T17:50:01+00:00</updated>
<author>
<name>Samuel Iglesias Gonsalvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-06-25T15:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=59d6a29e554d891a513476c13a6657825f8be270'/>
<id>59d6a29e554d891a513476c13a6657825f8be270</id>
<content type='text'>
In the rest of the code, the data is protected with spin_lock_irqsave().

Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the rest of the code, the data is protected with spin_lock_irqsave().

Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: remove unneeded includes</title>
<updated>2012-06-25T17:50:00+00:00</updated>
<author>
<name>Samuel Iglesias Gonsalvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-06-25T15:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=55c0a6f470517918a996a525325db6a88435c298'/>
<id>55c0a6f470517918a996a525325db6a88435c298</id>
<content type='text'>
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: fix oops when accessing "buffer"</title>
<updated>2012-06-25T17:50:00+00:00</updated>
<author>
<name>Samuel Iglesias Gonsalvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-06-25T15:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=db1db294d9366e95a76f4ca7e6442240eba67a0a'/>
<id>db1db294d9366e95a76f4ca7e6442240eba67a0a</id>
<content type='text'>
The buffer[][] field was replaced by tty_port-&gt;xmit_buf field but there was
some places that "buffer" was still accessed, giving a kernel oops because
it was uninitialized.

Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The buffer[][] field was replaced by tty_port-&gt;xmit_buf field but there was
some places that "buffer" was still accessed, giving a kernel oops because
it was uninitialized.

Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: remove unused enum uart_parity_e.</title>
<updated>2012-06-09T15:58:04+00:00</updated>
<author>
<name>Miguel Gómez</name>
<email>magomez@igalia.com</email>
</author>
<published>2012-06-07T08:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1be9bbddde32a0c414dd65220ca86f808aaeec5f'/>
<id>1be9bbddde32a0c414dd65220ca86f808aaeec5f</id>
<content type='text'>
Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: remove error_flag field from ipoctal struct.</title>
<updated>2012-06-09T15:58:04+00:00</updated>
<author>
<name>Miguel Gómez</name>
<email>magomez@igalia.com</email>
</author>
<published>2012-06-07T08:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c15768bb0c346767eb54e01a7e772041f36eb65e'/>
<id>c15768bb0c346767eb54e01a7e772041f36eb65e</id>
<content type='text'>
Remove the error_flag field from the ipoctal structure, as the error code
is handled through the tty abstraction. Remove the values definition as well.

Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the error_flag field from the ipoctal structure, as the error code
is handled through the tty abstraction. Remove the values definition as well.

Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: remove ipoctal_config structure.</title>
<updated>2012-06-09T15:58:03+00:00</updated>
<author>
<name>Miguel Gómez</name>
<email>magomez@igalia.com</email>
</author>
<published>2012-06-07T08:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8ae7012d3ed3314cc1bf52bd6c51eaa4cc1609a9'/>
<id>8ae7012d3ed3314cc1bf52bd6c51eaa4cc1609a9</id>
<content type='text'>
The configuration of the communication channel is handled by the tty
abstraction, so the ipoctal_config structure has become useless and it's
only used to store values that are never accesed. Remove it.

Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The configuration of the communication channel is handled by the tty
abstraction, so the ipoctal_config structure has become useless and it's
only used to store values that are never accesed. Remove it.

Signed-off-by: Miguel Gómez &lt;magomez@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: ipack/devices/ipoctal: change pr_* usage for dev_* functions</title>
<updated>2012-06-07T05:23:33+00:00</updated>
<author>
<name>Samuel Iglesias Gonsalvez</name>
<email>siglesias@igalia.com</email>
</author>
<published>2012-05-25T11:08:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=42b38207c36890ead05ab1c0002714c48b9b996a'/>
<id>42b38207c36890ead05ab1c0002714c48b9b996a</id>
<content type='text'>
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
