mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
459cc69fa4
All callers to ib_alloc_device() provide a larger size than struct ib_device and rely on the fact that struct ib_device is embedded in their driver specific structure as the first member. Provide a safer variant of ib_alloc_device() that checks and enforces this approach to make sure the drivers are using it right. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> |
||
---|---|---|
.. | ||
Kconfig | ||
main.c | ||
Makefile | ||
qedr_hsi_rdma.h | ||
qedr_iw_cm.c | ||
qedr_iw_cm.h | ||
qedr_roce_cm.c | ||
qedr_roce_cm.h | ||
qedr.h | ||
verbs.c | ||
verbs.h |