[RFC v3 1/3] eal/lcore: add topology based functions

Stephen Hemminger stephen at networkplumber.org
Wed Oct 30 16:43:34 CET 2024


On Wed, 30 Oct 2024 11:11:31 +0530
Vipin Varghese <vipin.varghese at amd.com> wrote:

> 			topo_cnfg.l3[j] = (struct core_domain_mapping *)
> +					malloc(sizeof(struct core_domain_mapping));

Minor nit, no need to cast return value from malloc().
In C void * can be assigned to a type directly.


More information about the dev mailing list