Re: [PATCH v2 2/5] staging: most: dim2: replace BUG_ON() in service_done_flag()

grondon
2026-03-31T16:44:33Z

On Tue, 31 Mar 2026 13:55:43 +0300, Dan Carpenter wrote:
> hdm_ch can't be NULL. It's a pointer to the middle of a struct plus
> an offset.

You're right, the NULL check is unnecessary here. Will send a fix
removing the !hdm_ch check and keeping only !hdm_ch->is_initialized.

Thanks,
Gabriel