Commit 6296665c authored by Colin Ian King's avatar Colin Ian King Committed by Jason Gunthorpe

RDMA/ocrdma: Fix spelling mistake in variable name

There is a spelling mistake in the variable nak_invalid_requst_errors,
rename it to nak_invalid_request_errors.

Link: https://lore.kernel.org/r/20191107224855.417647-1-colin.king@canonical.comSigned-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 7ee23491
...@@ -2034,7 +2034,7 @@ struct ocrdma_rx_stats { ...@@ -2034,7 +2034,7 @@ struct ocrdma_rx_stats {
}; };
struct ocrdma_rx_qp_err_stats { struct ocrdma_rx_qp_err_stats {
u32 nak_invalid_requst_errors; u32 nak_invalid_request_errors;
u32 nak_remote_operation_errors; u32 nak_remote_operation_errors;
u32 nak_count_remote_access_errors; u32 nak_count_remote_access_errors;
u32 local_length_errors; u32 local_length_errors;
......
...@@ -423,8 +423,8 @@ static char *ocrdma_rxqp_errstats(struct ocrdma_dev *dev) ...@@ -423,8 +423,8 @@ static char *ocrdma_rxqp_errstats(struct ocrdma_dev *dev)
memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM));
pcur = stats; pcur = stats;
pcur += ocrdma_add_stat(stats, pcur, "nak_invalid_requst_errors", pcur += ocrdma_add_stat(stats, pcur, "nak_invalid_request_errors",
(u64)rx_qp_err_stats->nak_invalid_requst_errors); (u64)rx_qp_err_stats->nak_invalid_request_errors);
pcur += ocrdma_add_stat(stats, pcur, "nak_remote_operation_errors", pcur += ocrdma_add_stat(stats, pcur, "nak_remote_operation_errors",
(u64)rx_qp_err_stats->nak_remote_operation_errors); (u64)rx_qp_err_stats->nak_remote_operation_errors);
pcur += ocrdma_add_stat(stats, pcur, "nak_count_remote_access_errors", pcur += ocrdma_add_stat(stats, pcur, "nak_count_remote_access_errors",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment