Files
linux/kernel
Claire Chang 762674c166 UPSTREAM: swiotlb: Fix the type of index
[ Upstream commit 95b079d821 ]

Fix the type of index from unsigned int to int since find_slots() might
return -1.

Fixes: 26a7e09478 ("swiotlb: refactor swiotlb_tbl_map_single")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Claire Chang <tientzu@chromium.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit a01572e21f)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I352263b74ff89334c1e3fd6f1b70e1c08b7f2b47
2021-05-22 11:05:15 +00:00
..
2021-05-15 09:28:55 +02:00
2021-05-13 14:22:11 +02:00
2021-04-14 08:41:58 +02:00
2021-05-13 14:22:11 +02:00
2021-04-02 15:25:50 +02:00
2021-05-15 09:28:55 +02:00
2021-05-13 14:22:11 +02:00
2021-05-13 14:22:11 +02:00
2020-08-26 09:10:39 -04:00
2021-05-13 14:22:11 +02:00
2020-08-12 10:58:02 -07:00
2021-02-08 20:05:12 -08:00
2020-11-14 11:26:04 -08:00
2021-01-13 10:28:55 +01:00
2020-07-27 14:31:12 -04:00
2021-03-07 12:33:33 +01:00
2021-04-09 02:30:55 +00:00
2021-05-15 09:28:55 +02:00
2021-02-07 15:37:17 +01:00
2021-03-19 09:42:56 +01:00
2021-05-20 15:35:25 +02:00
2021-04-15 14:23:41 +02:00