Files
android_kernel_xiaomi_sm8450/drivers/infiniband/hw/mlx5
Haggai Eran 11d748045c IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow
The mlx5_ib_reg_user_mr() function will attempt to call clean_mr() in
its error flow even though there is never a case where the error flow
occurs with a valid MR pointer to destroy.

Remove the clean_mr() call and the incorrect comment above it.

Fixes: b4cfe447d4 ("IB/mlx5: Implement on demand paging by adding
support for MMU notifiers")
Cc: Eli Cohen <eli@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-09-03 14:42:54 -04:00
..
2015-04-02 16:33:42 -04:00
2015-07-14 13:20:08 -04:00
2015-08-30 18:12:34 -04:00
2015-04-02 16:33:42 -04:00
2015-08-30 18:12:34 -04:00
2015-04-02 16:33:42 -04:00