On 3/1/2022 6:32 AM, Min Hu (Connor) wrote:
Hi, Ferruh,

在 2022/3/1 1:09, Ferruh Yigit 写道:
On 2/28/2022 3:21 AM, Min Hu (Connor) wrote:
@@ -1895,12 +1896,14 @@ hns3vf_wait_hardware_ready(struct hns3_adapter *hns)
              return 0;
          wait_data->check_completion = NULL;
-        wait_data->interval = 1 * MSEC_PER_SEC * USEC_PER_MSEC;
+        wait_data->interval =
+        HNS3_WAIT_PF_RESET_READY_TIME * MSEC_PER_SEC * USEC_PER_MSEC;

Can you please fix the syntax?
I guess all can fit into single line...
If not so, the code in single line will exceed 80 characters.


Right, it doesn't fit into single line, still it can be formatted better.

wait_data->interval = HNS3_WAIT_PF_RESET_READY_TIME *
        MSEC_PER_SEC * USEC_PER_MSEC;

Reply via email to