diff options
| author | Eli Cohen <[email protected]> | 2013-10-23 09:53:13 +0300 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2013-11-08 14:42:58 -0800 |
| commit | 51ee86a4af639e4ee8953dd02ad8a766c40f46a1 (patch) | |
| tree | 4cc3e7d5e75a5ae0e35682a340effe5ee6d278f0 /drivers/infiniband/hw/mlx5/main.c | |
| parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb (diff) | |
IB/mlx5: Fix check of number of entries in create CQ
Verify that the value is non negative before rounding up to power of 2.
Signed-off-by: Eli Cohen <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions