Re: [RFC PATCH v1 23/38] coco: guest: arm64: Update arm CCA guest driver

Jonathan Cameron
2025-07-31T13:54:29Z

On Thu, 31 Jul 2025 09:29:48 -0300
Jason Gunthorpe <jgg@ziepe.ca> wrote:

> On Wed, Jul 30, 2025 at 03:22:04PM +0100, Jonathan Cameron wrote:
> > > -static void __exit arm_cca_guest_exit(void)
> > > -{
> > > - tsm_report_unregister(&arm_cca_tsm_ops);
> > > + return ret;
> >
> > return devm_add_action_or_reset()
> >
> > Mind you, Jason probably won't like this ;)
>
> devm in a module __exit function? How ?
More coffee time...

>
> Jason