[PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
Compiling with -O0 and -g triggers these warnings: ../app/test-mldev/test_inference_common.c: In function ‘ml_request_finish’: ../app/test-mldev/test_inference_common.c:946:51: error: ‘.q.’ directive output may be truncated writing 3 bytes into a region of size between 0 an

Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 11:26 AM David Marchand wrote: > ../app/test-mldev/test_inference_common.c:952:48: note: using the range > [-2147483648, 2147483647] for directive argument > 952 | snprintf(str, sizeof(str) - 1, "%s.%d", > |

RE: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 20 March 2023 16:11 > To: dev@dpdk.org > Cc: Srikanth Yalavarthi ; Anup Prabhu > > Subject: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debu