mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-26 20:36:04 +00:00
Allow compilation of rdmatool on 32-bits platforms.
rdma
CC rdma.o
CC utils.o
CC dev.o
CC link.o
In file included from rdma.h:26:0,
from dev.c:12:
dev.c: In function 'dev_caps_tostr':
../include/utils.h:269:38: warning: left shift count >= width of type [-Wshift-count-overflow]
#define BIT(nr) (1UL << (nr))
^
rdma.h:32:61: note: in expansion of macro 'BIT'
#define RDMA_BITMAP_ENUM(name, bit_no) RDMA_BITMAP_##name = BIT(bit_no),
^~~
Fixes:
|
||
|---|---|---|
| .. | ||
| include/uapi/rdma | ||
| .gitignore | ||
| dev.c | ||
| link.c | ||
| Makefile | ||
| rdma.c | ||
| rdma.h | ||
| res.c | ||
| utils.c | ||