[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220623232931.GA21400@quicinc.com>
Date: Thu, 23 Jun 2022 16:29:31 -0700
From: Guru Das Srinagesh <quic_gurus@...cinc.com>
To: Aidan MacDonald <aidanmacdonald.0x0@...il.com>
CC: <broonie@...nel.org>, <agross@...nel.org>,
<bjorn.andersson@...aro.org>, <srinivas.kandagatla@...aro.org>,
<bgoswami@...eaurora.org>, <gregkh@...uxfoundation.org>,
<rafael@...nel.org>, <cw00.choi@...sung.com>,
<krzysztof.kozlowski@...aro.org>, <b.zolnierkie@...sung.com>,
<myungjoo.ham@...sung.com>, <michael@...le.cc>,
<linus.walleij@...aro.org>, <brgl@...ev.pl>, <tglx@...utronix.de>,
<maz@...nel.org>, <lee.jones@...aro.org>, <mani@...nel.org>,
<cristian.ciocaltea@...il.com>, <wens@...e.org>,
<tharvey@...eworks.com>, <rjones@...eworks.com>,
<mazziesaccount@...il.com>, <orsonzhai@...il.com>,
<baolin.wang7@...il.com>, <zhang.lyra@...il.com>,
<jernej.skrabec@...il.com>, <samuel@...lland.org>,
<lgirdwood@...il.com>, <perex@...ex.cz>, <tiwai@...e.com>,
<linux-kernel@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<linux-actions@...ts.infradead.org>,
<linux-arm-msm@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-sunxi@...ts.linux.dev>, <alsa-devel@...a-project.org>
Subject: Re: [PATCH 02/49] regmap-irq: Fix offset/index mismatch in
read_sub_irq_data()
On Mon, Jun 20, 2022 at 09:05:57PM +0100, Aidan MacDonald wrote:
> We need to divide the sub-irq status register offset by register
> stride to get an index for the status buffer to avoid an out of
> bounds write when the register stride is greater than 1.
>
> Fixes: a2d21848d921 ("regmap: regmap-irq: Add main status register support")
> Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@...il.com>
Reviewed-by: Guru Das Srinagesh <quic_gurus@...cinc.com>
Powered by blists - more mailing lists