summaryrefslogtreecommitdiffstats
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-06-20 22:05:57 +0200
committerMark Brown <broonie@kernel.org>2022-06-22 12:59:52 +0200
commit3f05010f243be06478a9b11cfce0ce994f5a0890 (patch)
tree191e259686b9b625eb7775b1a56dd803fa07f7bf /scripts/diffconfig
parentregmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips (diff)
downloadlinux-3f05010f243be06478a9b11cfce0ce994f5a0890.tar.xz
linux-3f05010f243be06478a9b11cfce0ce994f5a0890.zip
regmap-irq: Fix offset/index mismatch in read_sub_irq_data()
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@gmail.com> Link: https://lore.kernel.org/r/20220620200644.1961936-3-aidanmacdonald.0x0@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions