Re: [PATCH 1/4] media: atomisp: sh_css_mipi: include assert_support.h directly
From: Andy Shevchenko
Date: Tue Oct 13 2026 - 13:05:33 EST
On Mon, Oct 12, 2026 at 11:07:50PM +0000, Rareș-Mihai Vladu wrote:
> sh_css_mipi.c uses assert() but only gets its definition indirectly
> through the circbuf headers. Include assert_support.h directly so the
> file does not depend on that include chain.
...
> #include "sh_css_defs.h"
> #include "sh_css_sp.h" /* sh_css_update_host2sp_mipi_frame sh_css_update_host2sp_num_mipi_frames ... */
> #include "sw_event_global.h" /* IA_CSS_PSYS_SW_EVENT_MIPI_BUFFERS_READY */
> +#include "assert_support.h"
Keep it ordered by name.
--
With Best Regards,
Andy Shevchenko