[PATCH v3 06/14] eal/linux: remove log paraphrasing the doc
David Marchand
david.marchand at redhat.com
Mon Dec 18 10:27:28 CET 2023
An error log message does not need to paraphrase the DPDK documentation.
Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
---
lib/eal/linux/eal_timer.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/eal/linux/eal_timer.c b/lib/eal/linux/eal_timer.c
index 3a30284e3a..df9ad61ae9 100644
--- a/lib/eal/linux/eal_timer.c
+++ b/lib/eal/linux/eal_timer.c
@@ -152,11 +152,7 @@ rte_eal_hpet_init(int make_default)
}
eal_hpet = mmap(NULL, 1024, PROT_READ, MAP_SHARED, fd, 0);
if (eal_hpet == MAP_FAILED) {
- RTE_LOG(ERR, EAL, "ERROR: Cannot mmap "DEV_HPET"!\n"
- "Please enable CONFIG_HPET_MMAP in your kernel configuration "
- "to allow HPET support.\n"
- "To run without using HPET, unset RTE_LIBEAL_USE_HPET "
- "in your build configuration or use '--no-hpet' EAL flag.\n");
+ RTE_LOG(ERR, EAL, "ERROR: Cannot mmap "DEV_HPET"!\n");
close(fd);
internal_conf->no_hpet = 1;
return -1;
--
2.43.0
More information about the dev
mailing list