]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
net/mlx5: Ensure SRQ physical address structure endianness
authorArtemy Kovalyov <artemyko@mellanox.com>
Wed, 31 Aug 2016 05:29:58 +0000 (05:29 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:10 +0000 (15:43 +0200)
SRQ physical address structure field should be in big-endian format.

Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/srq.h

index 33c97dc900f82493f9f5bf6a4f375d37cbe4a4f8..1cde0fd53f90e026645a3d171e79653e3477980a 100644 (file)
@@ -55,7 +55,7 @@ struct mlx5_srq_attr {
        u32 lwm;
        u32 user_index;
        u64 db_record;
-       u64 *pas;
+       __be64 *pas;
 };
 
 struct mlx5_core_dev;