staging: usbip: userspace: whitespace cleanup
Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
33df2286f7
commit
9abec45232
|
@ -55,7 +55,7 @@ patent must be licensed for everyone's free use or not licensed at all.
|
|||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
|
@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
|
|||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
|
@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
|
|||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
|
@ -225,7 +225,7 @@ impose that choice.
|
|||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
|
@ -278,7 +278,7 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
|
|
|
@ -177,13 +177,13 @@ static int unbind(char *busid)
|
|||
return -1;
|
||||
}
|
||||
|
||||
for (i = 0; i < ninterface; i++) {
|
||||
char driver[PATH_MAX];
|
||||
for (i = 0; i < ninterface; i++) {
|
||||
char driver[PATH_MAX];
|
||||
int ret;
|
||||
|
||||
bzero(&driver, sizeof(driver));
|
||||
|
||||
getdriver(busid, configvalue, i, driver, PATH_MAX-1);
|
||||
getdriver(busid, configvalue, i, driver, PATH_MAX-1);
|
||||
|
||||
g_debug(" %s:%d.%d -> %s ", busid, configvalue, i, driver);
|
||||
|
||||
|
@ -226,7 +226,7 @@ static int bind_to_usbip(char *busid)
|
|||
return -1;
|
||||
}
|
||||
|
||||
for (i = 0; i < ninterface; i++) {
|
||||
for (i = 0; i < ninterface; i++) {
|
||||
int ret;
|
||||
|
||||
ret = bind_interface(busid, configvalue, i, "usbip");
|
||||
|
|
|
@ -619,9 +619,9 @@ int main(int argc, char *argv[])
|
|||
if (geteuid() != 0)
|
||||
g_warning("running non-root?");
|
||||
|
||||
ret = usbip_names_init(USBIDS_FILE);
|
||||
if (ret)
|
||||
notice("failed to open %s", USBIDS_FILE);
|
||||
ret = usbip_names_init(USBIDS_FILE);
|
||||
if (ret)
|
||||
notice("failed to open %s", USBIDS_FILE);
|
||||
|
||||
for (;;) {
|
||||
int c;
|
||||
|
|
Loading…
Reference in New Issue