host: ehci-sead3: fix NULL pointer dereference on resource
authorVarka Bhadram <varkabhadram@gmail.com>
Tue, 4 Nov 2014 01:47:11 +0000 (07:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:00:51 +0000 (09:00 -0800)
commit239ab7a41ada94a0248028c380b66be7704db054
treec1ebdc880be0b7db582717dbdd5a65e11d93a663
parent6827f7e3113ae11689546404f557fbfdba20aa50
host: ehci-sead3: fix NULL pointer dereference on resource

Fix on accessing NULL pointer dereference on get resource failed.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sead3.c