summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2017-10-22 23:38:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 19:14:21 +0300
commit287c2bb6e1b5b1299da59537fe58515001286c85 (patch)
tree7b8723c070c80b29b7204a6b2dae17b572182448 /mm
parent2818e13ae174bf6a607db3e3fc405bbf5f66b1ce (diff)
downloadlinux-287c2bb6e1b5b1299da59537fe58515001286c85.tar.xz
usb: usb251xb: Fix property_u32 NULL pointer dereference
The methods like of_property_read_u32 utilizing the specified pointer permit only the pointer to a preallocated u32 storage as the third argument. As a result the driver crashes on NULL pointer dereference in case if "oc-delay-us" or "power-on-time-ms" declared in dts file. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions