On Wed, Oct 12, 2016 at 05:24:31AM +, fx IWATA NOBUO wrote:
> Hello,
>
> I will send a patch to clear this warning.
>
> The current behavior is as following:
> vdev_to_vhci() is inline of container_of().
> A pointer (struct vhci_hcd *vhci) may be container_of() from NULL for a
> while.
> If i
acle.com]
> Sent: Wednesday, October 12, 2016 5:57 PM
> To: fx IWATA NOBUO
> Cc: linux-usb@vger.kernel.org
> Subject: Re: usbip: vhci extension: modifications to vhci driver
>
> On Wed, Oct 12, 2016 at 05:24:31AM +, fx IWATA NOBUO wrote:
> > Hello,
> >
> >
: modifications to vhci driver
>
> Hello Nobuo Iwata,
>
> This is a semi-automatic email about new static checker warnings.
>
> The patch 0775a9cbc694: "usbip: vhci extension: modifications to vhci
> driver" from Jun 13, 2016, leads to the following Smatch complaint:
Hello Nobuo Iwata,
This is a semi-automatic email about new static checker warnings.
The patch 0775a9cbc694: "usbip: vhci extension: modifications to vhci
driver" from Jun 13, 2016, leads to the following Smatch complaint:
drivers/usb/usbip/vhci_hcd.c:466 vhci_tx_urb()
warn
Modification to Kconfig, vhci_hc.c, vhci.h and vhci_sysfs.c.
1. kernel config
Followings are added.
USBIP_VHCI_HC_PORTS: Number of ports per USB/IP virtual host
controller. The default is 8 - same as current VHCI_NPORTS.
USBIP_VHCI_NR_HCS: Number of USB/IP virtual host controllers. The
default
Modification to Kconfig, vhci_hc.c, vhci.h and vhci_sysfs.c.
1. kernel config
Followings are added.
USBIP_VHCI_HC_PORTS: Number of ports per USB/IP virtual host
controller. The default is 8 - same as current VHCI_NPORTS.
USBIP_VHCI_NR_HCS: Number of USB/IP virtual host controllers. The
default