diff options
author | Majd Dibbiny <majd@mellanox.com> | 2015-06-07 12:44:23 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-08 03:11:17 (GMT) |
commit | 7cf7fa529d0b6b514949cc67b39e3ce406c37006 (patch) | |
tree | 3ed924680f65ba73ca85e9b08c12d722224f1d9b /drivers/net/ethernet/mellanox/mlx5/core/fw.c | |
parent | 4e2987a188c56d269882d89d37b6128f71d3b2a0 (diff) | |
download | linux-7cf7fa529d0b6b514949cc67b39e3ce406c37006.tar.xz |
net/mlx5_core: Fix static checker warnings around system guid query flow
Fix static checker warnings in the flow of system guid query.
Fixes: 707c4602cda6 ('net/mlx5_core: Add new query HCA vport commands')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fw.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fw.c b/drivers/net/ethernet/mellanox/mlx5/core/fw.c index ba87442..9335e5a 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fw.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fw.c @@ -35,7 +35,8 @@ #include <linux/module.h> #include "mlx5_core.h" -int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, int outlen) +static int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, + int outlen) { u32 in[MLX5_ST_SZ_DW(query_adapter_in)]; |