diff options
author | Alaa Hleihel <alaa@mellanox.com> | 2020-04-13 15:22:35 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-04-15 01:42:31 +0200 |
commit | c08cfb2d8d78bfe81b37cc6ba84f0875bddd0d5c (patch) | |
tree | d6f1b288a2cbffbc5d64a08010823ae64676cbcd /drivers/acpi/sleep.h | |
parent | RDMA/cm: Fix an error check in cm_alloc_id_priv() (diff) | |
download | linux-c08cfb2d8d78bfe81b37cc6ba84f0875bddd0d5c.tar.xz linux-c08cfb2d8d78bfe81b37cc6ba84f0875bddd0d5c.zip |
RDMA/mlx4: Initialize ib_spec on the stack
Initialize ib_spec on the stack before using it, otherwise we will have
garbage values that will break creating default rules with invalid parsing
error.
Fixes: a37a1a428431 ("IB/mlx4: Add mechanism to support flow steering over IB links")
Link: https://lore.kernel.org/r/20200413132235.930642-1-leon@kernel.org
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/acpi/sleep.h')
0 files changed, 0 insertions, 0 deletions