numam-dpdk/lib/librte_eal
Thomas Monjalon c2bd208a90 log: catch invalid level option number
The parsing check for invalid log level was not trying to catch
irrelevant numeric values.
A log level 0 becomes a failure in parsing so it can be caught early.
A log level higher than the max (8) is accepted with a warning message.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-04-09 12:56:09 +02:00
..
arm eal/arm: fix debug build with gcc for 128-bit atomics 2021-01-27 11:21:21 +01:00
common log: catch invalid level option number 2021-04-09 12:56:09 +02:00
freebsd eal: fix telemetry log type on registration failure 2021-04-08 18:31:58 +02:00
include log: introduce macro for maximum level 2021-04-09 12:56:09 +02:00
linux log: move private functions 2021-04-09 12:56:09 +02:00
ppc eal/ppc: provide arch-specific TSC frequency 2021-03-03 10:05:23 +01:00
unix eal: rename thread TLS API 2021-03-26 09:22:39 +01:00
windows log: move private functions 2021-04-09 12:56:09 +02:00
x86 build: add header includes check 2021-01-29 20:59:37 +01:00
meson.build eal/windows: use bundled getopt with MinGW 2020-10-05 09:12:24 +02:00
version.map build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00