diff options
author | Vladimir Oltean <[email protected]> | 2020-09-18 04:07:26 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-18 13:52:33 -0700 |
commit | c9d4b2cf16021d1f65e764f4035d7d1616e3bda3 (patch) | |
tree | 1dab92215d7f832d5afa9072c7d29943b28ff532 /lib/mpi/mpiutil.c | |
parent | a63ed92d217fcc2a36a0fbb77d80d8b9ee31aac1 (diff) |
net: mscc: ocelot: check for errors on memory allocation of ports
Do not proceed probing if we couldn't allocate memory for the ports
array, just error out.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Horatiu Vultur <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Tested-by: Alexandre Belloni <[email protected]>
Reviewed-by: Alexandre Belloni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions