diff options
| author | 2012-12-19 09:18:57 +0800 | |
|---|---|---|
| committer | 2013-01-11 16:03:38 -0800 | |
| commit | ece1d77ed73b335319725f1d5ffa72ca3fa9b05c (patch) | |
| tree | e6caafbfa8110e9799e550c4c0afc1a516471e6b /drivers/usb/core/generic.c | |
| parent | tools/usb: remove unneeded 'continue' and simplify condition (diff) | |
| download | linux-dev-ece1d77ed73b335319725f1d5ffa72ca3fa9b05c.tar.xz linux-dev-ece1d77ed73b335319725f1d5ffa72ca3fa9b05c.zip | |
USB: ohci: set urb->hcpriv = NULL immediately, after free it
although we can not say it is surely a bug.
it is better to set urb->hcpriv = NULL, after finish calling
urb_free_priv.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/generic.c')
0 files changed, 0 insertions, 0 deletions
