[PATCH V5 5/8] mem: possible data truncation and conversion error
Morten Brørup
mb at smartsharesystems.com
Thu Dec 15 08:04:49 CET 2022
> From: lihuisong (C) [mailto:lihuisong at huawei.com]
> Sent: Thursday, 15 December 2022 02.12
>
> 在 2022/12/14 21:00, Morten Brørup 写道:
> >> From: Huisong Li [mailto:lihuisong at huawei.com]
> >> Sent: Wednesday, 14 December 2022 13.33
> >>
> >> --- a/lib/eal/common/eal_common_memory.c
> >> +++ b/lib/eal/common/eal_common_memory.c
> >> @@ -1139,7 +1139,7 @@ handle_eal_heap_info_request(const char *cmd
> >> __rte_unused, const char *params,
> >> malloc_heap_get_stats(heap, &sock_stats);
> >>
> >> rte_tel_data_start_dict(d);
> >> - rte_tel_data_add_dict_int(d, "Head id", heap_id);
> >> + rte_tel_data_add_dict_u64(d, "Head id", heap_id);
> > Consider: "Head id" -> "Heap_id"
> Need to do this in this patch? Maybe it's better to do this in a new
> patch. What do you think?
You are right. It belongs in a different patch, not related to this series.
More information about the dev
mailing list