Thanks for the updated patch.

A process nit: the correct subject prefix for this type of work within
networking would be [PATCH net-next v2] (indicating it targets the
"net-next" tree).

2025-09-23, 22:45:10 +0200, Gustavo A. R. Silva wrote:
> Remove unused flexible-array member in struct tls_rec and, with this,
> fix the following warning:
> 
> net/tls/tls.h:131:29: warning: structure containing a flexible array member 
> is not at the end of another structure [-Wflex-array-member-not-at-end]
> 
> Also, add a comment to prevent people from adding any members
> after struct aead_request, which is a flexible structure --this is
> a structure that ends in a flexible-array member.

Once that warning is enabled, re-adding a field after aead_req will
not be allowed by the compiler, right?  The comment is probably not
really needed, but since there are "must be first" comments all over
include/net, I guess it's useful.

Reviewed-by: Sabrina Dubroca <[email protected]>

-- 
Sabrina

Reply via email to