Re: [PATCH v3 1/2] staging: most: dim2: replace BUG_ON() in enqueue()
From: Greg KH
Date: Sun Apr 12 2026 - 14:53:22 EST
On Sun, Apr 12, 2026 at 08:00:10PM +0700, Nguyen Duc Thinh wrote:
> From: Gabriel Rondon <grondon@xxxxxxxxx>
>
> Replace BUG_ON() range check on ch_idx with a return of -EINVAL.
>
> BUG_ON() is deprecated as it crashes the entire kernel on assertion
> failure (see Documentation/process/deprecated.rst).
>
> Signed-off-by: Gabriel Rondon <grondon@xxxxxxxxx>
> Link: https://patch.msgid.link/20260330182255.75241-5-grondon@xxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
You did not sign off on this, and did I? Where did this come from?
confused,
greg k-h