]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc: floppy: Add missing checks after DMA map
authorThomas Fourier <fourier.thomas@gmail.com>
Fri, 20 Jun 2025 07:55:55 +0000 (09:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:25:57 +0000 (16:25 +0200)
commit40c1baf8da2f3b81d7871faa2743010c89048ada
treea8dfb7a8be985ce045208b2f1533ae273df042b6
parentb651248da759e74ab34325c58482d4995e6e8d05
powerpc: floppy: Add missing checks after DMA map

[ Upstream commit cf183c1730f2634245da35e9b5d53381b787d112 ]

The DMA map functions can fail and should be tested for errors.

Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250620075602.12575-1-fourier.thomas@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/floppy.h