Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbeAESrP (ORCPT + 1 other); Fri, 5 Jan 2018 13:47:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44348 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752621AbeAESrM (ORCPT ); Fri, 5 Jan 2018 13:47:12 -0500 Message-ID: <1515178030.3403.31.camel@redhat.com> Subject: Re: [PATCH] i40iw: Replace mdelay with msleep in i40iw_wait_pe_ready From: Doug Ledford To: Shiraz Saleem , Jia-Ju Bai Cc: "Latif, Faisal" , "jgg@ziepe.ca" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Fri, 05 Jan 2018 13:47:10 -0500 In-Reply-To: <20180105174441.GA13368@ssaleem-MOBL4.amr.corp.intel.com> References: <1514111980-30502-1-git-send-email-baijiaju1990@gmail.com> <20180105174441.GA13368@ssaleem-MOBL4.amr.corp.intel.com> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-EMuaHHgQo8ZPC4ovKLze" Mime-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 05 Jan 2018 18:47:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: --=-EMuaHHgQo8ZPC4ovKLze Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2018-01-05 at 11:44 -0600, Shiraz Saleem wrote: > On Sun, Dec 24, 2017 at 03:39:40AM -0700, Jia-Ju Bai wrote: > > i40iw_wait_pe_ready is not called in an interrupt handler=20 > > nor holding a spinlock. > > The function mdelay in it can be replaced with msleep,=20 > > to reduce busy wait. > >=20 > > Signed-off-by: Jia-Ju Bai > > --- > > drivers/infiniband/hw/i40iw/i40iw_main.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 >=20 > Thanks! > Acked-by: Shiraz Saleem >=20 > =20 Thanks, applied. --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-EMuaHHgQo8ZPC4ovKLze Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAlpPyC4ACgkQuCajMw5X L92DRQ/9EKRg3u/0Mq4/m5i5I9Yy4arwohKTmYy6QgB38l1HWtoDzhyx0O4bwdea ymT7h4MXSa7yMwu7vixuhfODLzECwOdMEpLACWSKEz7UW53tiZC7iI4QXso3dle+ occoa3GpeRmJHYW8jufxNSIZTIKxBXgaS+rFB6cuiKCFPlrU6vYHQAZkxSpBjPjj gKEV1wp4VE4tirqN6i3RVbMPcZhj0yHLTRuHMTydpCWniXPcu0D/R0T+Ipm8nH82 DSIihplO0gcj9UL1Ay98Se1KpCk734SM8aUOM66O4BqpjZ9vl08heQJZZJTqC4sw mML1+YnvTt4H7WYVBXjeiIhVRya95YJHwG2YYxvOEzr5t6sRo+y949BydRlRKh4D KRaYA5o/R68U108p8vdl5xYlciCUG6nC7zq/bqoyn2sEGC0225ucH+fkAFnnAdXS +eL+wfeoNIZDL2OXolefau01yJqnmPfVi/eTQpPiZ6A2qClFgzqoDiThLbmQvRVx vs8IBp2nTfl6Je4VJyTaLN78qXhxfZ89UBN5rnU8TNYnBY60pSyGCKHp9iqDiWvg nekhGX9yVL4Wh1og16daEq30lmA8OT863YajcSFsPPmFy8QmuKZQ55yNQ8+7y+lY kzcStxME5BaW4wr5srHq7SW3o82KEfXdgYS8Dv3p4rS/uTdSfS4= =EeMK -----END PGP SIGNATURE----- --=-EMuaHHgQo8ZPC4ovKLze--