aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2015-12-02 20:36:55 +0100
committerGreg Kroah-Hartman <[email protected]>2015-12-04 08:19:55 -0800
commit4a0c4c36094cefd85cbe489590382ef69516ccef (patch)
treea0e208ed3cd7c1c3f6e06765b1bce0c1324637de /net/lapb/lapb_iface.c
parent6406eeb3f5bb376c7d9674e61f8da34ce7f05e8d (diff)
USB: host: ohci-at91: fix a crash in ohci_hcd_at91_overcurrent_irq
The interrupt handler, ohci_hcd_at91_overcurrent_irq may be called right after registration. At that time, pdev->dev.platform_data is not yet set, leading to a NULL pointer dereference. Fixes: e4df92279fd9 (USB: host: ohci-at91: merge loops in ohci_hcd_at91_drv_probe) Reported-by: Peter Rosin <[email protected]> Tested-by: Peter Rosin <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Cc: [email protected] # 4.3+ Acked-by: Nicolas Ferre <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions