summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorMartin Oliveira <martin.oliveira@eideticom.com>2021-07-29 23:15:23 +0300
committerChristoph Hellwig <hch@lst.de>2021-08-09 18:13:05 +0300
commitca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0 (patch)
tree3318cf418a51e69b765b9581a9dfd83641c67417 /arch/arm/mm
parentdabb16f67215918c48cf3ff1fc4bc36ca421da2b (diff)
downloadlinux-ca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0.tar.xz
alpha: return error code from alpha_pci_map_sg()
The .map_sg() op now expects an error code instead of zero on failure. pci_map_single_1() can fail for different reasons, but since the only supported type of error return is DMA_MAPPING_ERROR, we coalesce those errors into EIO. ENOMEM is returned when no page tables can be allocated. Signed-off-by: Martin Oliveira <martin.oliveira@eideticom.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions