Re: [PATCH v2 2/5] staging: most: dim2: replace BUG_ON() in service_done_flag()
From: grondon
Date: Tue Mar 31 2026 - 12:51:53 EST
From: Gabriel Rondon <grondon@xxxxxxxxx>
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