Re: [PATCH 2/3] ASoC: codecs: wcd9335: Remove potential undefined behavior in wcd9335_slimbus_irq()
From: Josh Poimboeuf
Date: Mon Mar 09 2026 - 12:15:22 EST
On Mon, Mar 09, 2026 at 04:05:06PM +0000, Mark Brown wrote:
> On Mon, Mar 09, 2026 at 09:03:06AM -0700, Josh Poimboeuf wrote:
> > If 'port_id' is negative, the shift counts in wcd9335_slimbus_irq() also
> > become negative, resulting in undefined behavior due to shift out of
> > bounds.
>
> You've not copied me on the rest of the series so I don't know what's
> going on with dependencies. When sending a patch series it is important
> to ensure that all the various maintainers understand what the
> relationship between the patches as the expecation is that there will be
> interdependencies. Either copy everyone on the whole series or at least
> copy them on the cover letter and explain what's going on. If there are
> no strong interdependencies then it's generally simplest to just send
> the patches separately to avoid any possible confusion.
Sorry about that. This is just a collection of objtool warnings fixes
and there are no interdependencies.
--
Josh