]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA: Change all uapi headers to use __aligned_u64 instead of __u64
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 20 Mar 2018 20:19:51 +0000 (14:19 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 27 Mar 2018 20:25:09 +0000 (14:25 -0600)
commit26b9906612c3553189d7d1673ee116ffac474d53
tree33a01f00d30e60c07a1e6142fe55ddec46c4bf4f
parentf2e9bfac13c904e5cfe58612002acde6f058dc83
RDMA: Change all uapi headers to use __aligned_u64 instead of __u64

The new auditing standard for the subsystem will be to only use
__aligned_64 in uapi headers to try and prevent 32/64 compat bugs
from existing in the future.

Changing all existing usage will help ensure new developers copy the
right idea.

The before/after of this patch was tested using pahole on 32 and 64
bit compiles to confirm it has no change in the structure layout, so
this patch is a NOP.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
19 files changed:
include/uapi/rdma/bnxt_re-abi.h
include/uapi/rdma/cxgb3-abi.h
include/uapi/rdma/cxgb4-abi.h
include/uapi/rdma/hfi/hfi1_ioctl.h
include/uapi/rdma/hfi/hfi1_user.h
include/uapi/rdma/hns-abi.h
include/uapi/rdma/i40iw-abi.h
include/uapi/rdma/ib_user_cm.h
include/uapi/rdma/ib_user_mad.h
include/uapi/rdma/ib_user_verbs.h
include/uapi/rdma/mlx4-abi.h
include/uapi/rdma/mlx5-abi.h
include/uapi/rdma/mthca-abi.h
include/uapi/rdma/nes-abi.h
include/uapi/rdma/ocrdma-abi.h
include/uapi/rdma/qedr-abi.h
include/uapi/rdma/rdma_user_cm.h
include/uapi/rdma/rdma_user_rxe.h
include/uapi/rdma/vmw_pvrdma-abi.h