summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorMajd Dibbiny2015-06-07 14:44:23 +0200
committerDavid S. Miller2015-06-08 05:11:17 +0200
commit7cf7fa529d0b6b514949cc67b39e3ce406c37006 (patch)
tree3ed924680f65ba73ca85e9b08c12d722224f1d9b /include/linux/mlx5
parentisdn/hisax: Convert use of __constant_cpu_to_le16 to cpu_to_le16 (diff)
downloadkernel-qcow2-linux-7cf7fa529d0b6b514949cc67b39e3ce406c37006.tar.gz
kernel-qcow2-linux-7cf7fa529d0b6b514949cc67b39e3ce406c37006.tar.xz
kernel-qcow2-linux-7cf7fa529d0b6b514949cc67b39e3ce406c37006.zip
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 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/vport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h
index 67882a834efb..967e0fd06e89 100644
--- a/include/linux/mlx5/vport.h
+++ b/include/linux/mlx5/vport.h
@@ -48,7 +48,7 @@ int mlx5_query_hca_vport_context(struct mlx5_core_dev *dev,
u16 vf_num,
struct mlx5_hca_vport_context *rep);
int mlx5_query_hca_vport_system_image_guid(struct mlx5_core_dev *dev,
- __be64 *sys_image_guid);
+ u64 *sys_image_guid);
int mlx5_query_hca_vport_node_guid(struct mlx5_core_dev *dev,
u64 *node_guid);