Files
linux/drivers
Colin Ian King b81ec27125 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
[ Upstream commit dee9d154f4 ]

It is possible for the call to omap_iommu_dump_ctx to return
a negative error number, so check for the failure and return
the error number rather than pass the negative value to
simple_read_from_buffer.

Fixes: 14e0e6796a ("OMAP: iommu: add initial debugfs support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200714192211.744776-1-colin.king@canonical.com
Addresses-Coverity: ("Improper use of negative value")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 08:48:25 +09:00
..
2023-05-12 16:27:16 +09:00
2023-05-16 08:45:34 +09:00
2023-05-15 12:46:28 +09:00
2017-09-09 17:39:41 +02:00
2023-05-16 08:46:23 +09:00
2023-05-15 10:37:00 +09:00
2023-05-15 09:23:01 +09:00
2023-05-15 08:28:33 +09:00
2023-05-16 08:19:24 +09:00
2023-05-15 16:59:11 +09:00