aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMartin Oliveira <[email protected]>2021-07-29 14:15:26 -0600
committerChristoph Hellwig <[email protected]>2021-08-09 17:13:05 +0200
commit62af5ca50c29a9be266656dfb88db6d439d129a1 (patch)
tree5e1e2624facf4b59e4ce8ebb1cdedc7f9272c637 /net/lapb/lapb_timer.c
parent9cf88ec5e0e876c959389b1e695438f98663b92d (diff)
ia64/sba_iommu: return error code from sba_map_sg_attrs()
The .map_sg() op now expects an error code instead of zero on failure. In the case of a dma_mapping_error() return -EIO as the actual cause is opaque here. sba_coalesce_chunks() may only presently fail if sba_alloc_range() fails, which in turn only fails if the iommu is out of mapping resources, hence a -ENOMEM is used in that case. Signed-off-by: Martin Oliveira <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Niklas Schnelle <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions