Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2647020pxb; Sun, 15 Nov 2020 12:25:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWaN2lC5JDeikLZFZs2tPPXndLEH1mhAO0vPlhTO6n0II/gsEeIKWsZjmXo/H5Mq1o2tnD X-Received: by 2002:a17:906:b749:: with SMTP id fx9mr3060313ejb.0.1605471920828; Sun, 15 Nov 2020 12:25:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605471920; cv=none; d=google.com; s=arc-20160816; b=iERC+tHeRHCilSaHnzOBfkv7BND5TL7Rnb7xcI25ZfhAigPuKQkwBIj3sAR75qyaDG FykLFAxVe1gev2xMx2SxJz+VJHw1zBAoOh48CWuUMd8AauYII9sCWal4egxePpvsKpvE D8ziJd7G6JXl9CV1wxaCO/+4QUO3wMyy9OBDrB53f3iJ/mQEB/NrdAiIpHgnW45GgEDT g/l2OtxKNt4CSOF4O3MpRuUI/qDd4CQ4Og+tr/g1L1J+E+cxcb4+s+s+xvNbdHAQGN7V nQpJ9QccxZE0Z8MCowcH2LoP4VEzrASLrf6WdR/eqotMGnjRMcqS3F17Wisgxclw8giw F8zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rFcOP8UWegi27SgLGGK/1FD40QNsTlzehhrgLClCyW8=; b=RP5wUcVPtpmlYCGorYUCX5dyKQuzzGRiTPyUy10nZmLKS0RRnDZ0X+FPxwPo+tlA6F 2ijAWiM0ocQRrtPQxQoc8GTtasSjG/PdOcJIW4vi/am7JSFjR6/kYkJUY6IVB+DO1Qpe qmSSW18HwtlNxR2u0VG3hf2kJinhhL5p0VlI5CuAB+navG2VxNLPvniuAJlH+OP3wCQ/ GXDDooFFCAH6uXsofGSgRxslbKLbZoVXWH8htpMcgxegfBGeC62qURQmQ/xTdMke8LZ1 I2ZyjIIMEQcjF/8DlNe4QFmPmspmL41Ksgex07RFKBzSVHKUzEuPSUzbNN+5zQZBzD6d jt+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@castello.eng.br header.s=default header.b=r60dmg+3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e15si10071411ejr.176.2020.11.15.12.24.58; Sun, 15 Nov 2020 12:25:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@castello.eng.br header.s=default header.b=r60dmg+3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727835AbgKOUUV (ORCPT + 99 others); Sun, 15 Nov 2020 15:20:21 -0500 Received: from gateway31.websitewelcome.com ([192.185.144.219]:19194 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727553AbgKOUUT (ORCPT ); Sun, 15 Nov 2020 15:20:19 -0500 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 47C3A8607B for ; Sun, 15 Nov 2020 13:58:45 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id eOAfkCIdMosA0eOAfknGyu; Sun, 15 Nov 2020 13:58:45 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=castello.eng.br; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rFcOP8UWegi27SgLGGK/1FD40QNsTlzehhrgLClCyW8=; b=r60dmg+3VJ08/+ivsUeiC93GvI JP2+3Dmr8EcYyusEvFW5FXZ9+gSyQv7o4Grg+8dNey7vIkZTetCTkmJjW0o1T5+1HRIYOZIzaqY8G CiChPUX/AjfOCUodElH/Gyk65kuofufyEQdklXaA0/prhL1IuRq53zLEL34//c8fm1qqIECQ0wUFR g9ZFcZywa5O/MiMFgs9Fd8XX7Uvzzdoz0WqwZ/UBnHbBQfxHP2scU5XKkZGyTLUDr2hNyPs8m3ceC wk/9R362AD/nrfzJMIlVr4I1mwuOi0yW+IgJNSHFEoHS/9nvYQay0dnr5hEZTlewIiPv0x/Gz4xAj AR16Hlgw==; Received: from 179-197-124-241.ultrabandalargafibra.com.br ([179.197.124.241]:50406 helo=DESKTOP-TKDJ6MU.localdomain) by br164.hostgator.com.br with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1keOAe-000kPb-NR; Sun, 15 Nov 2020 16:58:45 -0300 From: Matheus Castello To: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org Cc: sashal@kernel.org, Tianyu.Lan@microsoft.com, decui@microsoft.com, mikelley@microsoft.com, sunilmut@microsoft.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, Matheus Castello Subject: [PATCH 6/6] drivers: hv: vmbus: Fix call msleep using < 20ms Date: Sun, 15 Nov 2020 16:57:34 -0300 Message-Id: <20201115195734.8338-7-matheus@castello.eng.br> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201115195734.8338-1-matheus@castello.eng.br> References: <20201115195734.8338-1-matheus@castello.eng.br> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br164.hostgator.com.br X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - castello.eng.br X-BWhitelist: no X-Source-IP: 179.197.124.241 X-Source-L: No X-Exim-ID: 1keOAe-000kPb-NR X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 179-197-124-241.ultrabandalargafibra.com.br (DESKTOP-TKDJ6MU.localdomain) [179.197.124.241]:50406 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 75 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst Signed-off-by: Matheus Castello --- drivers/hv/vmbus_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 774b88dd0e15..cf49c0c01206 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -2382,7 +2382,7 @@ static int vmbus_bus_suspend(struct device *dev) * We wait here until the completion of any channel * offers that are currently in progress. */ - msleep(1); + usleep_range(1000, 2000); } mutex_lock(&vmbus_connection.channel_mutex); -- 2.28.0