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,
> >
> >
of source pointer of the container_of().
Thank you,
n.iwata
//
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Tuesday, October 11, 2016 4:03 PM
> To: fx IWATA NOBUO
> Cc: linux-usb@vger.kernel.org
> Subject: re: usbip: vhci extension
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: variable d