summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-03-26 21:03:53 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-26 16:11:22 -0700
commit328fafb94fa136bfa19b4ebc54d1f8cfcad13801 (patch)
treea519c7602ff0a3a807df7b08d04e7e11e364160a /include/drm
parent1507372b97a098fd51b92c4dbdbbcd65cba26939 (diff)
downloadtalos-obmc-linux-328fafb94fa136bfa19b4ebc54d1f8cfcad13801.tar.gz
talos-obmc-linux-328fafb94fa136bfa19b4ebc54d1f8cfcad13801.zip
usb: hcd: do not call whc_clean_up on wch_init call failure
whc_init already calls whc_clean_up if an error occurs during the initialization, so calling it again if whc_init fails at the end of wch_probe will cause double free errors. Fix this by bailing out on an whc_init failure to a new label that avoids doing the duplicated whc_clean_up. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud