Colin Ian King 7a5661739d iommu/mediatek: Fix unsigned domid comparison with less than zero
Currently the check for domid < 0 is always false because domid
is unsigned. Fix this by casting domid to an int before making
the comparison.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210204150001.102672-1-colin.king@canonical.com
Addresses-Coverity: ("Unsigned comparison against 0")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2021-02-05 09:49:47 +01:00
..
2020-12-16 13:58:47 -08:00
2020-11-23 14:16:55 +00:00
2020-11-23 14:16:55 +00:00
2020-11-23 14:16:55 +00:00
2021-01-05 18:48:57 +00:00
2020-11-23 14:16:55 +00:00
2021-01-28 20:29:56 +00:00
2021-02-01 11:31:19 +00:00
2020-11-25 11:04:41 +00:00