Skip to content

Commit 23190b8

Browse files
Weihang Lijgunthorpe
authored andcommitted
RDMA/hns: Fix comments with non-English symbols
There is a comments with some chinese semicolons that cause encoding issues each time hns_roc_hw_v2.h was modified from a IDE. So fix this by using correct symbols. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 67954a6 commit 23190b8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/infiniband/hw/hns/hns_roce_hw_v2.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,9 @@ struct hns_roce_func_clear {
12411241
};
12421242

12431243
#define FUNC_CLEAR_RST_FUN_DONE_S 0
1244-
/* Each physical function manages up to 248 virtual functions;
1245-
* it takes up to 100ms for each function to execute clear;
1246-
* if an abnormal reset occurs, it is executed twice at most;
1247-
* so it takes up to 249 * 2 * 100ms.
1244+
/* Each physical function manages up to 248 virtual functions, it takes up to
1245+
* 100ms for each function to execute clear. If an abnormal reset occurs, it is
1246+
* executed twice at most, so it takes up to 249 * 2 * 100ms.
12481247
*/
12491248
#define HNS_ROCE_V2_FUNC_CLEAR_TIMEOUT_MSECS (249 * 2 * 100)
12501249
#define HNS_ROCE_V2_READ_FUNC_CLEAR_FLAG_INTERVAL 40

0 commit comments

Comments
 (0)