Re: [PATCH v5 1/4] usb: usbip tool: Check the return of get_nports()

2017-06-07 Thread Yuyang Du
On Tue, Jun 06, 2017 at 09:36:50AM -0600, Shuah Khan wrote: > On 05/22/2017 04:20 AM, Yuyang Du wrote: > > From: Yuyang Du > > > > If we get nonpositive number of ports, there is no sense to > > continue, then fail gracefully. > > > > In addition, the commit

Re: [PATCH v5 1/4] usb: usbip tool: Check the return of get_nports()

2017-06-06 Thread Shuah Khan
On 05/22/2017 04:20 AM, Yuyang Du wrote: > From: Yuyang Du > > If we get nonpositive number of ports, there is no sense to > continue, then fail gracefully. > > In addition, the commit 0775a9cbc694e8c72 ("usbip: vhci extension: > modifications to vhci driver") introduced

[PATCH v5 1/4] usb: usbip tool: Check the return of get_nports()

2017-05-22 Thread Yuyang Du
From: Yuyang Du If we get nonpositive number of ports, there is no sense to continue, then fail gracefully. In addition, the commit 0775a9cbc694e8c72 ("usbip: vhci extension: modifications to vhci driver") introduced configurable numbers of controllers and ports, but we