mirror of
https://github.com/torvalds/linux.git
synced 2026-11-13 13:38:14 +01:00
Commit "iommu: return full error code from iommu_map_sg[_atomic]()"
changed iommu_map_sgtable() to return an ssize_t and negative values
in error cases, rather than a size_t and a zero.
pin_job() also was incorrectly assigning to 'int', which could cause
overflows into negative values.
Update pin_job() to correctly check for errors from iommu_map_sgtable.
Fixes:
|
||
|---|---|---|
| .. | ||
| hw | ||
| bus.c | ||
| bus.h | ||
| cdma.c | ||
| cdma.h | ||
| channel.c | ||
| channel.h | ||
| context_bus.c | ||
| context.c | ||
| context.h | ||
| debug.c | ||
| debug.h | ||
| dev.c | ||
| dev.h | ||
| fence.c | ||
| fence.h | ||
| intr.c | ||
| intr.h | ||
| job.c | ||
| job.h | ||
| Kconfig | ||
| Makefile | ||
| mipi.c | ||
| syncpt.c | ||
| syncpt.h | ||
| tegra114-mipi.c | ||