From: Mathias Nyman Date: Thu, 11 Sep 2014 10:55:48 +0000 (+0300) Subject: xhci: Fix null pointer dereference if xhci initialization fails X-Git-Tag: fixes-for-v3.18-merge-window~137^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c207e7c50f31113c24a9f536fcab1e8a256985d7;p=pandora-kernel.git xhci: Fix null pointer dereference if xhci initialization fails If xhci initialization fails before the roothub bandwidth domains (xhci->rh_bw[i]) are allocated it will oops when trying to access rh_bw members in xhci_mem_cleanup(). Reported-by: Manuel Reimer Cc: stable Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed