lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8470c362-8c41-4b99-8c05-0903285c1b6c@embeddedor.com>
Date: Fri, 19 Dec 2025 14:48:31 +0900
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Zhu Yanjun <yanjun.zhu@...ux.dev>, Leon Romanovsky <leon@...nel.org>
Cc: Jason Gunthorpe <jgg@...dia.com>,
 "Gustavo A. R. Silva" <gustavoars@...nel.org>,
 Zhu Yanjun <zyjzyj2000@...il.com>, linux-rdma@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] RDMA/rxe: Avoid -Wflex-array-member-not-at-end
 warnings


> The struct rxe_recv_wqe is as below.
> 
> struct rxe_recv_wqe {
>      __aligned_u64       wr_id;
>      __u32           reserved;
>      __u32           padding;
>      struct rxe_dma_info dma;

Expand struct rxe_dma_info here.

> };
> 
> But I can not find dma.sge in the above struct. Can you explain it?
> 
> To be honest, I read your original commit for several times, but I can not get it.  Can you explain the MACRO TRAILING_OVERLAP? And how can it replace the 
> following struct?

This is clearly explained in the changelog text. I think what you're
missing will be clear once you understand how nested structures
work. See my comment above.

-Gustavo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ