summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorMartin Oliveira <martin.oliveira@eideticom.com>2021-07-29 14:15:23 -0600
committerChristoph Hellwig <hch@lst.de>2021-08-09 17:13:05 +0200
commitca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0 (patch)
tree3318cf418a51e69b765b9581a9dfd83641c67417 /drivers/w1
parentdabb16f67215918c48cf3ff1fc4bc36ca421da2b (diff)
downloadlinux-stable-ca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0.tar.gz
linux-stable-ca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0.tar.bz2
linux-stable-ca33d26ac640bdf74e5fd0fcd711dbc5ab9f36c0.zip
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 'drivers/w1')
0 files changed, 0 insertions, 0 deletions