Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Bruce Richardson
On Wed, Mar 10, 2021 at 02:35:47PM +0100, Thomas Monjalon wrote: > 10/03/2021 14:26, Bruce Richardson: > > On Wed, Mar 10, 2021 at 01:33:20PM +0100, Thomas Monjalon wrote: > > > 10/03/2021 13:19, Bruce Richardson: > > > > On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > > > > > Th

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, March 10, 2021 2:36 PM > > 10/03/2021 14:26, Bruce Richardson: > > On Wed, Mar 10, 2021 at 01:33:20PM +0100, Thomas Monjalon wrote: > > > 10/03/2021 13:19, Bruce Richardson: > > > > On Wed, Mar 10, 2021 at 12

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Stephen Hemminger
On Wed, 10 Mar 2021 12:19:24 + Bruce Richardson wrote: > On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > > The parsing check for invalid log level was not trying to catch > > irrelevant numeric values. > > A log level 0 or too high is now a failure in options parsing > > so

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Thomas Monjalon
10/03/2021 14:26, Bruce Richardson: > On Wed, Mar 10, 2021 at 01:33:20PM +0100, Thomas Monjalon wrote: > > 10/03/2021 13:19, Bruce Richardson: > > > On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > > > > The parsing check for invalid log level was not trying to catch > > > > irrel

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Bruce Richardson
On Wed, Mar 10, 2021 at 01:33:20PM +0100, Thomas Monjalon wrote: > 10/03/2021 13:19, Bruce Richardson: > > On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > > > The parsing check for invalid log level was not trying to catch > > > irrelevant numeric values. > > > A log level 0 or t

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Thomas Monjalon
10/03/2021 13:19, Bruce Richardson: > On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > > The parsing check for invalid log level was not trying to catch > > irrelevant numeric values. > > A log level 0 or too high is now a failure in options parsing > > so it can be caught early.

Re: [dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-10 Thread Bruce Richardson
On Wed, Mar 10, 2021 at 12:31:10AM +0100, Thomas Monjalon wrote: > The parsing check for invalid log level was not trying to catch > irrelevant numeric values. > A log level 0 or too high is now a failure in options parsing > so it can be caught early. > > Signed-off-by: Thomas Monjalon One thin

[dpdk-dev] [PATCH 06/11] eal: catch invalid log level number

2021-03-09 Thread Thomas Monjalon
The parsing check for invalid log level was not trying to catch irrelevant numeric values. A log level 0 or too high is now a failure in options parsing so it can be caught early. Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/eal_common_options.c | 2 +- 1 file changed, 1 insertion(+)