diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-06-17 18:58:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 03:03:38 +0200 |
commit | 760f1dc29580220c5949d22cc4937e3e44eacac1 (patch) | |
tree | ad019ef2b020cfa81c4e8eb4c2d0bd5c48796fcb /drivers/amba/Makefile | |
parent | net: hns3: Add missing newline at end of file (diff) | |
download | linux-760f1dc29580220c5949d22cc4937e3e44eacac1.tar.xz linux-760f1dc29580220c5949d22cc4937e3e44eacac1.zip |
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>
Diffstat (limited to 'drivers/amba/Makefile')
0 files changed, 0 insertions, 0 deletions