diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-10-03 13:53:41 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-10-03 20:26:58 +0300 |
| commit | b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d (patch) | |
| tree | 5715556cda939e6cde16c3888a8d6177920a411f /include/linux | |
| parent | b508e0b6e47c85a095ef056f3de6ba9d396c490c (diff) | |
| download | linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.tar.xz | |
mlxsw: spectrum: Add missing error code on allocation failure
We accidentally return success if the kmalloc_array() call fails.
Fixes: 0e14c7777acb ("mlxsw: spectrum: Add the multicast routing hardware logic")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
