aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples/kobject/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-05-12 09:43:34 +0200
committerMark Brown <broonie@kernel.org>2026-05-18 17:36:26 +0100
commita7e8f3efd50a165ba0189f6dc57f7e51a7d149db (patch)
treed9baaa1d54f132181260af866954a5b2fef0f8a1 /samples/kobject/ssh:/git@git.zx2c4.com
parentspi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache() (diff)
spi: qup: fix error pointer deref after DMA setup failure
The driver falls back to PIO mode if DMA setup fails during probe. Make sure to the clear the DMA channel pointers on setup failure to avoid dereferencing an error pointer (or attempting to release a channel a second time) on later probe errors or driver unbind. This issue was flagged by Sashiko when reviewing a devres allocation conversion patch. Fixes: 612762e82ae6 ("spi: qup: Add DMA capabilities") Link: https://sashiko.dev/#/patchset/20260505072909.618363-1-johan%40kernel.org?part=4 Cc: stable@vger.kernel.org # 4.1 Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260512074334.914735-1-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions