Re: [PATCH] event: fix warning from useless snprintf

2024-06-15 Thread Stephen Hemminger
On Sat, 15 Jun 2024 13:43:16 +0200 Thomas Monjalon wrote: > 24/04/2024 21:10, Stephen Hemminger: > > On Wed, 24 Apr 2024 17:12:39 + > > "Van Haaren, Harry" wrote: > > > From: Stephen Hemminger > > > > "Van Haaren, Harry" wrote: > > > > > > From: Stephen Hemminger > > > > > > > > > >

Re: [PATCH] event: fix warning from useless snprintf

2024-06-15 Thread Thomas Monjalon
24/04/2024 21:10, Stephen Hemminger: > On Wed, 24 Apr 2024 17:12:39 + > "Van Haaren, Harry" wrote: > > From: Stephen Hemminger > > > "Van Haaren, Harry" wrote: > > > > > From: Stephen Hemminger > > > > > > > > > > With Gcc-14, this warning is generated: > > > > > ../drivers/event/sw/sw_evde

Re: [PATCH] event: fix warning from useless snprintf

2024-05-27 Thread Jerin Jacob
5:13 PM > > > To: Van Haaren, Harry > > > Cc: dev@dpdk.org; Richardson, Bruce; Jerin Jacob > > > Subject: Re: [PATCH] event: fix warning from useless snprintf > > > > > > On Wed, 24 Apr 2024 08:45:52 + > > > "Van Haaren, Harry" wr

Re: [PATCH] event: fix warning from useless snprintf

2024-04-24 Thread Stephen Hemminger
gt; > > > To: dev@dpdk.org > > > > Cc: Richardson, Bruce; Stephen Hemminger; Van Haaren, Harry; Jerin Jacob > > > > Subject: [PATCH] event: fix warning from useless snprintf > > > > > > > > With Gcc-14, this warning is generated: > > &

Re: [PATCH] event: fix warning from useless snprintf

2024-04-24 Thread Van Haaren, Harry
> > From: Stephen Hemminger > Sent: Wednesday, April 24, 2024 5:13 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Richardson, Bruce; Jerin Jacob > Subject: Re: [PATCH] event: fix warning from useless snprintf > > On Wed, 24 Apr 20

Re: [PATCH] event: fix warning from useless snprintf

2024-04-24 Thread Stephen Hemminger
On Wed, 24 Apr 2024 08:45:52 + "Van Haaren, Harry" wrote: > > From: Stephen Hemminger > > Sent: Wednesday, April 24, 2024 4:45 AM > > To: dev@dpdk.org > > Cc: Richardson, Bruce; Stephen Hemminger; Van Haaren, Harry; Jerin Jacob > > Subject: [PATCH]

Re: [PATCH] event: fix warning from useless snprintf

2024-04-24 Thread Van Haaren, Harry
> From: Stephen Hemminger > Sent: Wednesday, April 24, 2024 4:45 AM > To: dev@dpdk.org > Cc: Richardson, Bruce; Stephen Hemminger; Van Haaren, Harry; Jerin Jacob > Subject: [PATCH] event: fix warning from useless snprintf > > With Gcc-14, this warning is generated:

[PATCH] event: fix warning from useless snprintf

2024-04-23 Thread Stephen Hemminger
With Gcc-14, this warning is generated: ../drivers/event/sw/sw_evdev.c:263:3: warning: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Wformat-truncation] 263 | snprintf(buf, sizeof(buf), "sw%d_iq_%d_rob", dev_id, i);