We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530b69a commit 10e0f0cCopy full SHA for 10e0f0c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c
@@ -990,6 +990,7 @@ static int hws_bwc_send_queues_init(struct mlx5hws_context *ctx)
990
for (i = 0; i < bwc_queues; i++) {
991
mutex_init(&ctx->bwc_send_queue_locks[i]);
992
lockdep_register_key(ctx->bwc_lock_class_keys + i);
993
+ lockdep_set_class(ctx->bwc_send_queue_locks + i, ctx->bwc_lock_class_keys + i);
994
}
995
996
return 0;
0 commit comments