RDMA/mad: Convert BUG_ONs to error flows
Let's perform checks in-place instead of BUG_ONs. Signed-off-by: NLeon Romanovsky <leonro@mellanox.com> Signed-off-by: NDoug Ledford <dledford@redhat.com>
Showing
想要评论请 注册 或 登录
Let's perform checks in-place instead of BUG_ONs. Signed-off-by: NLeon Romanovsky <leonro@mellanox.com> Signed-off-by: NDoug Ledford <dledford@redhat.com>