aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorVladimir Murzin <[email protected]>2013-04-09 22:33:31 +0400
committerSarah Sharp <[email protected]>2013-05-24 09:14:47 -0700
commit88696ae432ce7321540ac53d9caab3de9118b094 (patch)
tree37c6e9a1055486cf2e413be5402ef6ae30cdcbbb /include/linux/fpga/fpga-mgr.h
parent331de00a64e5027365145bdf51da27b9ce15dfd5 (diff)
xhci: fix list access before init
If for whatever reason we fall into fail path in xhci_mem_init() before bw table gets initialized we may access the uninitialized lists in xhci_mem_cleanup(). Check for bw table before traversing lists in cleanup routine. This patch should be backported to kernels as old as 3.2, that contain the commit 839c817ce67178ca3c7c7ad534c571bba1e69ebe "xhci: Store information about roothubs and TTs." Reported-by: Sergey Dyasly <[email protected]> Tested-by: Sergey Dyasly <[email protected]> Signed-off-by: Vladimir Murzin <[email protected]> Signed-off-by: Sarah Sharp <[email protected]> Cc: [email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions