commit | 373d7bad6f083f3dcc95c336219254eee332616d | [log] [tgz] |
---|---|---|
author | Serge Semin <fancer.lancer@gmail.com> | Sun Oct 22 23:38:10 2017 +0300 |
committer | Alex Van Damme <atv@google.com> | Tue Oct 29 13:45:31 2019 -0700 |
tree | 17d1087593de967f3bf0f9aec342a2d71595518a | |
parent | 7519a62947628bdf6ff2345908fb63dda28e0b21 [diff] |
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>