diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2025-01-03 05:46:16 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-01-17 10:58:06 +0300 |
commit | 10c62c38b073ecea775b7e23fa7c7a3995a84ff3 (patch) | |
tree | 891e100f8f4522c725054deafaead4ab9465fbad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 77a44196abfb39e183be554003e9ee76d95edab1 (diff) | |
download | linux-10c62c38b073ecea775b7e23fa7c7a3995a84ff3.tar.xz |
iommu/riscv: Fixup compile warning
When __BITS_PER_LONG == 32, size_t is defined as unsigned int rather
than unsigned long. Therefore, we should use size_t to avoid
type-checking errors.
Fixes: 488ffbf18171 ("iommu/riscv: Paging domain support")
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Cc: Tomasz Jeznach <tjeznach@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Tomasz Jeznach <tjeznach@rivosinc.com>
Link: https://lore.kernel.org/r/20250103024616.3359159-1-guoren@kernel.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions