Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752228AbeAERop (ORCPT + 1 other); Fri, 5 Jan 2018 12:44:45 -0500 Received: from mga06.intel.com ([134.134.136.31]:55283 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933AbeAERoo (ORCPT ); Fri, 5 Jan 2018 12:44:44 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,319,1511856000"; d="scan'208";a="7678318" Date: Fri, 5 Jan 2018 11:44:41 -0600 From: Shiraz Saleem To: Jia-Ju Bai Cc: "Latif, Faisal" , "dledford@redhat.com" , "jgg@ziepe.ca" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] i40iw: Replace mdelay with msleep in i40iw_wait_pe_ready Message-ID: <20180105174441.GA13368@ssaleem-MOBL4.amr.corp.intel.com> References: <1514111980-30502-1-git-send-email-baijiaju1990@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1514111980-30502-1-git-send-email-baijiaju1990@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 > nor holding a spinlock. > The function mdelay in it can be replaced with msleep, > to reduce busy wait. > > Signed-off-by: Jia-Ju Bai > --- > drivers/infiniband/hw/i40iw/i40iw_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks! Acked-by: Shiraz Saleem