Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756864AbdGLMh6 (ORCPT ); Wed, 12 Jul 2017 08:37:58 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:37425 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756784AbdGLMh5 (ORCPT ); Wed, 12 Jul 2017 08:37:57 -0400 X-IronPort-AV: E=Sophos;i="5.40,349,1496095200"; d="scan'208";a="283119216" Date: Wed, 12 Jul 2017 14:37:55 +0200 From: Samuel Thibault To: Jaya Durga Cc: gregkh@linuxfoundation.org, w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, okash.khawaja@gmail.com, dhowells@redhat.com, arushisinghal19971997@gmail.com, robsonde@gmail.com, speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: speakup: speakup_keypc.c: usleep_range is preferred over udelay Message-ID: <20170712123755.3asnp7agu2p2elso@var.youpi.perso.aquilenet.fr> Mail-Followup-To: Samuel Thibault , Jaya Durga , gregkh@linuxfoundation.org, w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, okash.khawaja@gmail.com, dhowells@redhat.com, arushisinghal19971997@gmail.com, robsonde@gmail.com, speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <1499858633-31162-1-git-send-email-rjdurga@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1499858633-31162-1-git-send-email-rjdurga@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 228 Lines: 7 Jaya Durga, on mer. 12 juil. 2017 16:53:53 +0530, wrote: > Fix checkpatch issue: CHECK: usleep_range is preferred over udelay; IIRC synth_immediate is meant to be usable in atomic contexts too, so usleep can't be used. Samuel