<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/serial/ssu100.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-14T11:32:56Z</updated>
<entry>
<title>USB: serial: ssu100: fix control-message error handling</title>
<updated>2017-05-14T11:32:56Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-01-12T13:56:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aece86ff48717a18ff38d5e8a2447f94c726a76b'/>
<id>urn:sha1:aece86ff48717a18ff38d5e8a2447f94c726a76b</id>
<content type='text'>
commit 1eac5c244f705182d1552a53e2f74e2775ed95d6 upstream.

Make sure to detect short control-message transfers rather than continue
with zero-initialised data when retrieving modem status and during
device initialisation.

Fixes: 52af95459939 ("USB: add USB serial ssu100 driver")
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: ssu100: fix overrun-error reporting</title>
<updated>2014-11-19T15:22:22Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2014-11-18T10:25:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75bcbf29c284dd0154c3e895a0bd1ef0e796160e'/>
<id>urn:sha1:75bcbf29c284dd0154c3e895a0bd1ef0e796160e</id>
<content type='text'>
Fix reporting of overrun errors, which should only be reported once
using the inserted null character.

Fixes: 6b8f1ca5581b ("USB: ssu100: set tty_flags in ssu100_process_packet")
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>usb: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-01-08T23:01:39Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2014-01-08T16:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=803a536243b3a1ed2289f41897b11b72bd083309'/>
<id>urn:sha1:803a536243b3a1ed2289f41897b11b72bd083309</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: clean up ioctl debugging</title>
<updated>2014-01-03T20:31:46Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-12-29T18:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d5147ec90531d11e7677e2c38941fc18e160641'/>
<id>urn:sha1:4d5147ec90531d11e7677e2c38941fc18e160641</id>
<content type='text'>
Remove redundant ioctl debugging from subdrivers. The ioctl request code
has already been logged by usb-serial core.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: serial: make minor allocation dynamic</title>
<updated>2013-06-17T20:30:02Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2013-06-07T18:04:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5b1e2062e0535e8ffef79bb34d857e21380d101'/>
<id>urn:sha1:e5b1e2062e0535e8ffef79bb34d857e21380d101</id>
<content type='text'>
This moves the allocation of minor device numbers from a static array to
be dynamic, using the idr interface.  This means that you could
potentially get "gaps" in a minor number range for a single USB serial
device with multiple ports, but all should still work properly.

We remove the 'minor' field from the usb_serial structure, as it no
longer makes any sense for it (use the field in the usb_serial_port
structure if you really want to know this number), and take the fact
that we were overloading a number in this field to determine if we had
initialized the minor numbers or not, and just use a flag variable
instead.

Note, we still have the limitation of 255 USB to serial devices in the
system, as that is all we are registering with the TTY layer at this
point in time.

Tested-by: Tobias Winter &lt;tobias@linuxdingsda.de&gt;
Reviewed-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ssu100: switch to generic TIOCMIWAIT implementation</title>
<updated>2013-03-25T20:52:28Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-03-21T11:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c24c838e8effd55ba330d1966d9846400af4bec8'/>
<id>urn:sha1:c24c838e8effd55ba330d1966d9846400af4bec8</id>
<content type='text'>
Switch to the generic TIOCMIWAIT implementation.

This also fixes the issue with processes waiting for
modem-status-changes not being woken up at disconnect.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ssu100: switch to generic get_icount implementation</title>
<updated>2013-03-25T20:52:28Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-03-21T11:37:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31ecdb6befeab20d93b49b8dd640c081b48912d0'/>
<id>urn:sha1:31ecdb6befeab20d93b49b8dd640c081b48912d0</id>
<content type='text'>
Switch to the generic get_icount implementation.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ssu100: remove custom close operation</title>
<updated>2013-03-25T20:48:26Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-03-21T11:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=618e183d03a95da200bed48e5277efe428feef26'/>
<id>urn:sha1:618e183d03a95da200bed48e5277efe428feef26</id>
<content type='text'>
The generic close operation will be used if the close field is left
uninitialised.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ssu100: remove explicit initialisation of disconnect</title>
<updated>2013-03-25T20:48:26Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-03-21T11:36:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bf8773c6eacc9c3241455fdb7e82050ad2323a0a'/>
<id>urn:sha1:bf8773c6eacc9c3241455fdb7e82050ad2323a0a</id>
<content type='text'>
The disconnect callback is set to the generic implementation by
usb-serial core if NULL.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: ssu100: fix use-after-free in TIOCMIWAIT</title>
<updated>2013-03-21T22:59:05Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2013-03-19T08:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43a66b4c417ad15f6d2f632ce67ad195bdf999e8'/>
<id>urn:sha1:43a66b4c417ad15f6d2f632ce67ad195bdf999e8</id>
<content type='text'>
Use the port wait queue and make sure to check the serial disconnected
flag before accessing private port data after waking up.

This is is needed as the private port data (including the wait queue
itself) can be gone when waking up after a disconnect.

Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
