On Thu, Apr 9, 2020 at 8:16 PM Wu Bo <[email protected]> wrote: > > From: Wu Bo <[email protected]> > > When the initialization fails, add the cleanup resources > in pmem_attach_disk() function
Are you familiar with devm? devm routines take care of this automatically on driver probe error conditions. _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
