[RFC,v2,06/14] eal/linux: remove log paraphrasing the doc
Commit Message
An error log message does not need to paraphrase the DPDK documentation.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
lib/eal/linux/eal_timer.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Comments
On Fri, 8 Dec 2023 15:59:40 +0100
David Marchand <david.marchand@redhat.com> wrote:
> An error log message does not need to paraphrase the DPDK documentation.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Agree.
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
On Fri, Dec 08, 2023 at 03:59:40PM +0100, David Marchand wrote:
> An error log message does not need to paraphrase the DPDK documentation.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
@@ -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;