Re: [PATCH v5 10/10] common/dpaxx: replace zero length array

2024-01-23 Thread Thomas Monjalon
29/11/2023 03:39, Stephen Hemminger: > + * Ip header must follow directly after ipsec_encap_pdb [...] > + > + /* ip header if any follows the encap_pdb */ [...] > + /* ip header if any follows the encap_pdb */ I would change "ip" to "IP".

[PATCH v5 10/10] common/dpaxx: replace zero length array

2023-11-28 Thread Stephen Hemminger
The zero length ip_header is used as an overlay to the encap IP header. Since the code is already assuming the layout of the structure, replace the array with direct access. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- drivers/common/dpaax/caamflib/desc/ipsec.h | 20 +++