]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Fix sglist access in ccio-dma.c
authorJohn David Anglin <dave.anglin@bell.net>
Thu, 27 Jan 2022 22:33:41 +0000 (22:33 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 28 Jan 2022 09:15:34 +0000 (10:15 +0100)
commite58e601784ed792a65144b0e8bdeb311ff015d2c
tree53d3c9619e1242f821bc240409fbf5c9fc3f1db2
parent5c96619ea37327066abc75bed6eca18ea2de6561
parisc: Fix sglist access in ccio-dma.c

This patch implements the same bug fix to ccio-dma.c as to sba_iommu.c.
It ensures that only the allocated entries of the sglist are accessed.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/ccio-dma.c