[PATCH 4/6] net/hns3: fix the time waiting for PF reset completion
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Mon Feb 28 18:09:31 CET 2022
    
    
  
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...
    
    
More information about the dev
mailing list