> -----Original Message----- > From: Wei Fang <wei.fang@xxxxxxx> > Sent: Tuesday, October 22, 2024 8:52 AM [...] > Subject: [PATCH v4 net-next 10/13] net: enetc: extract > enetc_int_vector_init/destroy() from enetc_alloc_msix() > > From: Clark Wang <xiaoning.wang@xxxxxxx> > > Extract enetc_int_vector_init() and enetc_int_vector_destroy() from > enetc_alloc_msix() so that the code is more concise and readable. In > addition, slightly different from before, the cleanup helper function > is used to manage dynamically allocated memory resources. > > Signed-off-by: Clark Wang <xiaoning.wang@xxxxxxx> > Signed-off-by: Wei Fang <wei.fang@xxxxxxx> > Reviewed-by: Frank Li <Frank.Li@xxxxxxx> > --- Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>