commit | 760f1dc29580220c5949d22cc4937e3e44eacac1 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Jun 17 17:58:36 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 18 21:03:38 2019 -0400 |
tree | ad019ef2b020cfa81c4e8eb4c2d0bd5c48796fcb | |
parent | cf29a498796a8a0ec45ed63fd59352d7172d59ee [diff] |
net: stmmac: add sanity check to device_property_read_u32_array call Currently the call to device_property_read_u32_array is not error checked leading to potential garbage values in the delays array that are then used in msleep delays. Add a sanity check to the property fetching. Addresses-Coverity: ("Uninitialized scalar variable") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>