<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/usbip/userspace, branch v3.10</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: usbip: userspace: show product name in `list -l' command</title>
<updated>2013-04-05T21:22:52+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=70e90fb57f517dca891c737f8120389af71baee0'/>
<id>70e90fb57f517dca891c737f8120389af71baee0</id>
<content type='text'>
The `usbip list -l' command shows your local usb-devices.
Example:
 $ usbip list -l
 $ Local USB devices
 $ =================
 $ - busid 1-1 (13fe:1d00)
 $         1-1:1.0 -&gt; usb-storage
 $
 $ - busid 1-2 (0409:55aa)
 $         1-2:1.0 -&gt; hub

However this list command doesn't show which device is connected
to this busid. Therefore you have to use another tool e.g. lsusb
to determine that.

This patches adds the possibility to see which device that is.
Example:
 $ usbip list -l
 $ Local USB devices
 $ =================
 $ - busid 1-1 (13fe:1d00)
 $   Kingston Technology Company Inc. : DataTraveler 2.0 1GB/4GB Flash Drive / Patriot Xporter 4GB Flash
 $         1-1:1.0 -&gt; usb-storage
 $
 $ - busid 1-2 (0409:55aa)
 $   NEC Corp. : Hub (0409:55aa)
 $         1-2:1.0 -&gt; hub

If parsable is specified the info will be not printed.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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 `usbip list -l' command shows your local usb-devices.
Example:
 $ usbip list -l
 $ Local USB devices
 $ =================
 $ - busid 1-1 (13fe:1d00)
 $         1-1:1.0 -&gt; usb-storage
 $
 $ - busid 1-2 (0409:55aa)
 $         1-2:1.0 -&gt; hub

However this list command doesn't show which device is connected
to this busid. Therefore you have to use another tool e.g. lsusb
to determine that.

This patches adds the possibility to see which device that is.
Example:
 $ usbip list -l
 $ Local USB devices
 $ =================
 $ - busid 1-1 (13fe:1d00)
 $   Kingston Technology Company Inc. : DataTraveler 2.0 1GB/4GB Flash Drive / Patriot Xporter 4GB Flash
 $         1-1:1.0 -&gt; usb-storage
 $
 $ - busid 1-2 (0409:55aa)
 $   NEC Corp. : Hub (0409:55aa)
 $         1-2:1.0 -&gt; hub

If parsable is specified the info will be not printed.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: unified command line arguments</title>
<updated>2013-04-05T21:22:52+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=80e4b9432c7d84f70686e69bb7469d89d58e5d87'/>
<id>80e4b9432c7d84f70686e69bb7469d89d58e5d87</id>
<content type='text'>
The command `usbip attach' uses --host for specifing
the remote host, while `usbip list' uses --remote.
This is confusing and this patch adapts this.
In Addition changed the manpage and README accordingly.

Before:
 $ usbip attach --host &lt;host&gt; -b &lt;busid&gt;
 $ usbip list --remote &lt;host&gt;

Now:
 $ usbip attach --remote &lt;host&gt; -b &lt;busid&gt;
 $ usbip list --remote &lt;host&gt;

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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 command `usbip attach' uses --host for specifing
the remote host, while `usbip list' uses --remote.
This is confusing and this patch adapts this.
In Addition changed the manpage and README accordingly.

Before:
 $ usbip attach --host &lt;host&gt; -b &lt;busid&gt;
 $ usbip list --remote &lt;host&gt;

Now:
 $ usbip attach --remote &lt;host&gt; -b &lt;busid&gt;
 $ usbip list --remote &lt;host&gt;

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: libsrc: cleanup parsing</title>
<updated>2013-04-05T21:22:51+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b2e0228409ac880b2defb51ab9e76b8f8af56ff2'/>
<id>b2e0228409ac880b2defb51ab9e76b8f8af56ff2</id>
<content type='text'>
Since the names.c/names.h are taken from another project, some
functions which names.c provides aren't used by usbipd.
This patch fixes:
 - removed useless comments
 - unified debug/error messages by using the macros
   provided by usbip_common.h
 - removed unnused code

The code cleanup includes:
 - remove unused data structures
 - remove code to create them
 - remove code to access them

The file names.c is used to parse the `usb.ids' file. The parser
stores a lot of information about usb devices that is never used.

The `usb.ids' file has several sections. Some variables (like
`lasthut') store the ID of the current section, and those variables
are used to decide which section is currently being parsed (i.e. in
which data structure the current line will be  stored).

We removed the code to read those IDs because they are never used
anyway. We replaced them by the pseudo-ID `1' (instead of reading the
ID from the file) to indicate that the parser is in a section that
can be ignored. If the parser is in such a section, the current line
(which contains sub-items for this section) is discarded.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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>
Since the names.c/names.h are taken from another project, some
functions which names.c provides aren't used by usbipd.
This patch fixes:
 - removed useless comments
 - unified debug/error messages by using the macros
   provided by usbip_common.h
 - removed unnused code

The code cleanup includes:
 - remove unused data structures
 - remove code to create them
 - remove code to access them

The file names.c is used to parse the `usb.ids' file. The parser
stores a lot of information about usb devices that is never used.

The `usb.ids' file has several sections. Some variables (like
`lasthut') store the ID of the current section, and those variables
are used to decide which section is currently being parsed (i.e. in
which data structure the current line will be  stored).

We removed the code to read those IDs because they are never used
anyway. We replaced them by the pseudo-ID `1' (instead of reading the
ID from the file) to indicate that the parser is in a section that
can be ignored. If the parser is in such a section, the current line
(which contains sub-items for this section) is discarded.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: removed unnecessary code</title>
<updated>2013-04-05T21:22:51+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e71e781ba4f0db19775635443a208ba69d403ad6'/>
<id>e71e781ba4f0db19775635443a208ba69d403ad6</id>
<content type='text'>
Since no usbip_name function is used in usbipd, it's not
necessary to parse "usb.ids" file at startup.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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>
Since no usbip_name function is used in usbipd, it's not
necessary to parse "usb.ids" file at startup.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: avoid memory leaks</title>
<updated>2013-04-05T21:22:51+00:00</updated>
<author>
<name>Stefan Reif</name>
<email>ke42caxa@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e697949944c1427816e3cd01f8316040d7bddc57'/>
<id>e697949944c1427816e3cd01f8316040d7bddc57</id>
<content type='text'>
Call freeaddrinfo when connect/listen fails.
Call usbip_host_driver_close on error.

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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>
Call freeaddrinfo when connect/listen fails.
Call usbip_host_driver_close on error.

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: libsrc: replace numbers by ascii</title>
<updated>2013-04-05T21:22:49+00:00</updated>
<author>
<name>Stefan Reif</name>
<email>ke42caxa@cip.cs.fau.de</email>
</author>
<published>2013-04-04T14:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=69f452635cf863f9356996218d25bbe2a4e35f2d'/>
<id>69f452635cf863f9356996218d25bbe2a4e35f2d</id>
<content type='text'>
replace numbers in code by ascii text constants as suggested
by Dan Carpenter:
http://driverdev.linuxdriverproject.org/pipermail/devel/2013-February/035907.html

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&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>
replace numbers in code by ascii text constants as suggested
by Dan Carpenter:
http://driverdev.linuxdriverproject.org/pipermail/devel/2013-February/035907.html

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: fix whitespace errors</title>
<updated>2013-03-11T16:45:29+00:00</updated>
<author>
<name>Stefan Reif</name>
<email>ke42caxa@cip.cs.fau.de</email>
</author>
<published>2013-02-22T11:13:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5037307d51636e7c784ceef8aa23e0c074d429a7'/>
<id>5037307d51636e7c784ceef8aa23e0c074d429a7</id>
<content type='text'>
This patch fixes the following checkpatch errors:
-ERROR: space required after that ','
-ERROR: spaces required around that '='
-ERROR: space prohibited before that close parenthesis
-WARNING: please, no space before tabs

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&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>
This patch fixes the following checkpatch errors:
-ERROR: space required after that ','
-ERROR: spaces required around that '='
-ERROR: space prohibited before that close parenthesis
-WARNING: please, no space before tabs

Signed-off-by: Stefan Reif &lt;ke42caxa@cip.cs.fau.de&gt;
Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: libsrc: added missing space</title>
<updated>2013-03-11T16:45:29+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-02-22T11:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ba0edc23df90332e4360d5116bcf3ea333e5de73'/>
<id>ba0edc23df90332e4360d5116bcf3ea333e5de73</id>
<content type='text'>
This patch fixes the following checkpatch warning:
-WARNING: missing space after enum definition

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&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>
This patch fixes the following checkpatch warning:
-WARNING: missing space after enum definition

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: libsrc: removed assignments in if conditions</title>
<updated>2013-03-11T16:45:28+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-02-22T11:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6f19a2b1c386d6ef75bcfebf5c1a68d28658d62e'/>
<id>6f19a2b1c386d6ef75bcfebf5c1a68d28658d62e</id>
<content type='text'>
This patch fixes the following checkpatch error:
-ERROR: do not use assignment in if condition

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&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>
This patch fixes the following checkpatch error:
-ERROR: do not use assignment in if condition

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: usbip: userspace: libsrc: replaced lines over 80 characters</title>
<updated>2013-03-11T16:45:28+00:00</updated>
<author>
<name>Kurt Kanzenbach</name>
<email>ly80toro@cip.cs.fau.de</email>
</author>
<published>2013-02-22T11:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9db91e1b4cdf23c28f7f932376bcdeafbd1aee28'/>
<id>9db91e1b4cdf23c28f7f932376bcdeafbd1aee28</id>
<content type='text'>
This patch fixes some of the following checkpatch warnings:
-WARNING: line over 80 characters

We did not split format strings for readability.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&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>
This patch fixes some of the following checkpatch warnings:
-WARNING: line over 80 characters

We did not split format strings for readability.

Signed-off-by: Kurt Kanzenbach &lt;ly80toro@cip.cs.fau.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
