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 10:26:58 -0700 |
| commit | b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d (patch) | |
| tree | 5715556cda939e6cde16c3888a8d6177920a411f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | mlxsw: spectrum: Fix check for IS_ERR() instead of NULL (diff) | |
| download | linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.tar.gz linux-b5c7d4e54c9ab830e5c03f92377fe15cbae64d0d.zip | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
