diff options
| author | Vladimir Zapolskiy <[email protected]> | 2016-04-25 20:53:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-26 21:50:02 +0000 |
| commit | 97b9b7dc7722dc78d46046fc7a0dd0264832327f (patch) | |
| tree | f4ce1389ae6fefe5a3c5e51b364a87955ab3e732 /fs/btrfs/dev-replace.c | |
| parent | Revert "usb: musb: musb_host: Enable HCD_BH flag to handle urb return in bott... (diff) | |
| download | kernel-97b9b7dc7722dc78d46046fc7a0dd0264832327f.tar.gz kernel-97b9b7dc7722dc78d46046fc7a0dd0264832327f.zip | |
usb: musb: jz4740: fix error check of usb_get_phy()
The usb_get_phy() function returns either a valid pointer to phy or
ERR_PTR() error, check for NULL always fails and may lead to oops on
error path, fix this issue.
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
