aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2022-06-10 14:53:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 13:57:20 +0200
commit802dcafc420af536fcde1b44ac51ca211f4ec673 (patch)
tree9a50af44f07f0296824a890f88c2a6c5ae10dd1c /tools/perf/scripts/python/bin
parentUSB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if... (diff)
downloadlinux-802dcafc420af536fcde1b44ac51ca211f4ec673.tar.gz
linux-802dcafc420af536fcde1b44ac51ca211f4ec673.zip
xhci: Fix null pointer dereference in resume if xhci has only one roothub
In the re-init path xhci_resume() passes 'hcd->primary_hcd' to hci_init(), however this field isn't initialized by __usb_create_hcd() for a HCD without secondary controller. xhci_resume() is called once per xHC device, not per hcd, so the extra checking for primary hcd can be removed. Fixes: e0fe986972f5 ("usb: host: xhci-plat: prepare operation w/o shared hcd") Reported-by: Matthias Kaehlcke <mka@chromium.org> Tested-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220610115338.863152-2-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
ig?id=a7b43812ae5ec90afde8ed540b1a92405a54a519&follow=1'>MIPS: BMIPS: Enable ARCH_WANT_OPTIONAL_GPIOLIBFlorian Fainelli1-0/+1 2016-01-24MIPS: bcm63xx: nvram: Remove unused bcm63xx_nvram_get_psi_size() functionSimon Arlott2-13/+0 2016-01-24MIPS: bcm963xx: Update bcm_tag field image_sequenceSimon Arlott1-6/+5 2016-01-24MIPS: bcm963xx: Move extended flash address to bcm_tag header fileSimon Arlott2-4/+7 2016-01-24MIPS: bcm963xx: Move Broadcom BCM963xx image tag data structureSimon Arlott3-4/+7 2016-01-24MIPS: bcm63xx: nvram: Use nvram structure definition from header fileSimon Arlott1-32/+3 2016-01-24MIPS: bcm963xx: Add Broadcom BCM963xx board nvram data structureSimon Arlott2-0/+113 2016-01-24MAINTAINERS: Add KVM for MIPS entryJames Hogan1-0/+8 2016-01-24MIPS: KVM: Add missing newline to kvm_err()James Hogan1-1/+1 2016-01-24MIPS: Move KVM specific opcodes into asm/inst.hJames Hogan4-28/+5 2016-01-24MIPS: KVM: Use cacheops.h definitionsJames Hogan1-22/+8 2016-01-24MIPS: Break down cacheops.h definitionsJames Hogan1-42/+64 2016-01-24MIPS: Use EXCCODE_ constants with set_except_vector()James Hogan2-30/+30 2016-01-24MIPS: Update trap codesJames Hogan1-2/+10 2016-01-24MIPS: Move Cause.ExcCode trap codes to mipsregs.hJames Hogan5-83/+80 2016-01-24MIPS: KVM: Make kvm_mips_{init,exit}() staticJames Hogan1-2/+2 2016-01-24MIPS: KVM: Refactor added offsetof()sJames Hogan1-7/+3 2016-01-24MIPS: KVM: Convert EXPORT_SYMBOL to _GPLJames Hogan2-19/+19 2016-01-24MIPS: KVM: Drop unused kvm_mips_host_tlb_inv_index()James Hogan2-38/+0 2016-01-24MIPS: Move definition of DC bit to mipsregs.hJames Hogan2-3/+2 2016-01-24MIPS: KVM: Drop some unused definitions from kvm_host.hJames Hogan1-5/+0 2016-01-24MIPS: KVM: Trivial whitespace and style fixesJames Hogan5-15/+14