diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-05-27 13:52:50 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-06-03 12:18:02 +0200 |
commit | b43e0d8a458cf267c98f914a4e0a4cafe2e8fd76 (patch) | |
tree | 29358f03cdde99fecb1888f002c59affe3e5f310 /Documentation/smsc_ece1099.txt | |
parent | iommu/ipmmu-vmsa: Prepare to handle 40-bit error addresses (diff) | |
download | linux-b43e0d8a458cf267c98f914a4e0a4cafe2e8fd76.tar.xz linux-b43e0d8a458cf267c98f914a4e0a4cafe2e8fd76.zip |
iommu/ipmmu-vmsa: Make IPMMU_CTX_MAX unsigned
Make the IPMMU_CTX_MAX constant unsigned, to match the type of
ipmmu_features.number_of_contexts.
This allows to use plain min() instead of type-casting min_t().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'Documentation/smsc_ece1099.txt')
0 files changed, 0 insertions, 0 deletions