diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-09-08 11:07:26 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-09-13 22:55:55 +0300 |
commit | b97b218b302d7ccc82381d3c8254396804e7d819 (patch) | |
tree | 7a539479ab7b468bf6e2b8b66e795c16335d6a28 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3b961b4f83161857ed671f489d00266469f34053 (diff) | |
download | linux-b97b218b302d7ccc82381d3c8254396804e7d819.tar.xz |
RDMA/odp: Add missing cast for 32 bit
length is a size_t which is unsigned int on 32 bit:
../drivers/infiniband/core/umem_odp.c: In function 'ib_init_umem_odp':
../include/linux/overflow.h:59:15: warning: comparison of distinct pointer types lacks a cast
59 | (void) (&__a == &__b); \
| ^~
../drivers/infiniband/core/umem_odp.c:220:7: note: in expansion of macro 'check_add_overflow'
Fixes: 204e3e5630c5 ("RDMA/odp: Check for overflow when computing the umem_odp end")
Link: https://lore.kernel.org/r/20190908080726.30017-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions