Re: [PATCH v4] staging: media: atomisp: remove debug sysfs attributes active_bo and free_bo

From: Abdelrahman Fekry
Date: Fri Jun 27 2025 - 05:04:06 EST


On Fri, Jun 27, 2025 at 11:40 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
>
> On Fri, Jun 27, 2025 at 10:29:39AM +0300, Abdelrahman Fekry wrote:
> > The sysfs attributes active_bo and free_bo expose internal buffer
> > state used only for debugging purposes. These are not part of
> > any standard kernel ABI, and need to be removed before this
> > driver may be moved out of drivers/staging.
> >
> > - Remove active_bo and free_bo attributes
> > - Remove group registration calls form hmm_init() and hmm_cleanup()
>
> ...
>
> > /* free dummy memory first */
> > hmm_free(dummy_ptr);
> > dummy_ptr = 0;
> > -
> > hmm_bo_device_exit(&bo_device);
> > hmm_initialized = false;
>
> Stray change.
>
sorry for that , will fix and resend it right away
> --
> With Best Regards,
> Andy Shevchenko
>
>