[EXT] Re: [PATCH v4 04/12] app/mldev: add test case to validate model ops
Srikanth Yalavarthi
syalavarthi at marvell.com
Fri Mar 10 03:55:46 CET 2023
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: 10 March 2023 00:13
> To: Srikanth Yalavarthi <syalavarthi at marvell.com>
> Cc: dev at dpdk.org; Shivah Shankar Shankar Narayan Rao
> <sshankarnara at marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj at marvell.com>; Anup Prabhu <aprabhu at marvell.com>; Prince Takkar
> <ptakkar at marvell.com>; Parijat Shukla <pshukla at marvell.com>
> Subject: [EXT] Re: [PATCH v4 04/12] app/mldev: add test case to validate
> model ops
>
> External Email
>
> ----------------------------------------------------------------------
> 07/02/2023 16:49, Srikanth Yalavarthi:
> > --- a/app/test-mldev/ml_options.c
> > +++ b/app/test-mldev/ml_options.c
> > @@ -4,6 +4,7 @@
> >
> > #include <errno.h>
> > #include <getopt.h>
> > +#include <linux/limits.h>
>
> It breaks on non-Linux OS of course.
> include <limits.h> is enough and more portable.
>
> I will fix while merging.
Currently ML is not supported on windows. Hence used <linux/limits.h>. Will be removed in version 5.
>
> In general, I think you have too many includes.
> You could reduce them by using devtools/process-iwyu.py
>
Will do a cleanup on header includes in version 5.
More information about the dev
mailing list