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

Varghese, Vipin Vipin.Varghese at amd.com
Mon Nov 4 04:09:46 CET 2024


Snipped

> 
> 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.

Thank you Stephen, will address this with v4


More information about the dev mailing list