commit | 7c940b1a5291e5069d561f5b8f0e51db6b7a259a | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.ibm.com> | Fri Jun 07 16:03:55 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 09 19:51:28 2019 -0700 |
tree | 1b7a2b892939b819e6962ef0784e348f76618094 | |
parent | be32a24372cf162e825332da1a7ccef058d4f20b [diff] |
ibmvnic: Fix unchecked return codes of memory allocations The return values for these memory allocations are unchecked, which may cause an oops if the driver does not handle them after a failure. Fix by checking the function's return code. Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>