On Wed, Nov 19, 2025 at 05:31:56AM +0100, Thomas Monjalon wrote: > 15/11/2025 20:36, Stephen Hemminger: > > +#define stringify(x) (#x) > > +#define MAX_VDPA_STR_LEN sizeof(stringify(MAX_VDPA_SAMPLE_PORTS)) > > Can you use RTE_STR? > +1 I had same comment on v2.
- [PATCH v2 7/7] test: re-enable format-truncation wa... Stephen Hemminger
- Re: [PATCH v2 7/7] test: re-enable format-trunc... Bruce Richardson
- [PATCH v2 6/7] test: increase size of memzone name Stephen Hemminger
- Re: [PATCH v2 6/7] test: increase size of memzo... Bruce Richardson
- [PATCH v3 0/4] examples: fix format-truncation warnings Stephen Hemminger
- [PATCH v3 1/4] examples/server_node_efd: fix format... Stephen Hemminger
- Re: [PATCH v3 1/4] examples/server_node_efd: fi... Bruce Richardson
- [PATCH v3 3/4] examples/ip_reassembly: add check be... Stephen Hemminger
- [PATCH v3 2/4] examples/vdpa: fix format overflow w... Stephen Hemminger
- Re: [PATCH v3 2/4] examples/vdpa: fix format ov... Thomas Monjalon
- Re: [PATCH v3 2/4] examples/vdpa: fix forma... Bruce Richardson
- [PATCH v3 4/4] examples: enable format truncation w... Stephen Hemminger

