Re: [PATCH] RDMA/ocrdma: Fix structure layout for ocrdma_alloc_pd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 19, 2018 at 11:30:43AM -0600, Jason Gunthorpe wrote:
> The udata's for alloc_pd cannot contain u64s due to alignment
> constraints. Switch the two never-used u64's to arrays of u32 to reduce
> the required struct alignment to 4 bytes.
> 
> These reserved fields are totally unnecessary, never written and never
> read.
> 
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  include/uapi/rdma/ocrdma-abi.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to -next

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux