Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2787724rwl; Mon, 27 Mar 2023 05:26:45 -0700 (PDT) X-Google-Smtp-Source: AKy350bVyXVbXcpBL/vmpT9XvG1/weA40xOG6lxcfM98Njo146qk1OGDofCIrPnrZfr32jYIHGpQ X-Received: by 2002:a17:907:d68f:b0:878:7189:a457 with SMTP id wf15-20020a170907d68f00b008787189a457mr12517369ejc.51.1679920004845; Mon, 27 Mar 2023 05:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679920004; cv=none; d=google.com; s=arc-20160816; b=LKZFYCxgra8BjB2PT7dcQIzrtvvAotobYBFzBy3uZk2qT5mIQR/oDOQXntHm5F+4v6 JxYalnPRdcacLJXrAeGTYEbDZ/RW3ssiR1Lr5D697ZOMp6k8iCpYygU5nqlnWDc4iWDe TV8quonOrwkg8zpGebrhVlg4x0LOK5n0Fsg++VFWkpqTZUfUuOPp2kgXyVhoXJ244Z/D Kc65Ntk5e1surd1ascoStL/bylkYS47VHPeq6Q4eqqePyu21alH973iuwdIe0ycd1VZn CWvHpM9SC+OfQx8PDwXp342fSLESOdmnzyGYRnVJNd8Vzvzgq+z4ehiGYcUD31XR9eBg qp5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uslYjtv4m4AksflLGnoX5lwwTxOvcq4QRw5RlSVhmQw=; b=K/qXqkC/glxXonRZetch1MBiWqb/j0PnJXNncCNjtlrbfPLqxKuwx+XS+PEb69bi69 xGge8L1gccZARcIjxN4y7l+OMtPx2+AP39GN029qavCVohKV/M/NYXyZ6ZaYdC8Ky2s0 rBZ/fSc/R4OTu7XAAqBzCFwAfo9dgAWGEuCgtBBZAPJzRsxLFVHHzq6vX751HeJVZ5ht q+R72cQBdGCU2B7aw/rxLrrE/l7tmSM+NmIACEQTOg6UJd86+g/jhLcVeI1kQrJJ2eL5 ub+l+5hH7jY5SRzf2dgD+SLPKHWNSsMVJRcQzqPnta3z4xXHjIVvDjrWXVB/76sphgrz rnIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PolfwCa4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa36-20020a17090786a400b0093e601a52e9si8371075ejc.41.2023.03.27.05.26.20; Mon, 27 Mar 2023 05:26:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PolfwCa4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbjC0MZy (ORCPT + 99 others); Mon, 27 Mar 2023 08:25:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232587AbjC0MZw (ORCPT ); Mon, 27 Mar 2023 08:25:52 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFD353ABA; Mon, 27 Mar 2023 05:25:50 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id q7-20020a05600c46c700b003ef6e809574so1874448wmo.4; Mon, 27 Mar 2023 05:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679919949; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uslYjtv4m4AksflLGnoX5lwwTxOvcq4QRw5RlSVhmQw=; b=PolfwCa4IcIK/n1Oye+8d0lgDu5S86ppO9k9VnMxzkxR4mlDsXWKRuEN8Wwa9GHlLi TRRK46gDB7oUpZyQDk98GV+bj/f1JD3ILY4I/x2RqkTgtJToR/klNkZmZk+D0fy5S7Ov 7oaUO59O34ggm9cYdnewFt66WppKiqlW3zkEF+7+aURbQpDjOWGDNM8W/w0K94l4x2W7 CTizHGz0IVtz4H7qjCkZpXAzY7tEzvA5QIPJSwICyJGGtRAnZeagBGYVnhENx4VlXkLz UrEqPXgcP3LfY13X9A68zKtG5KMdfZYaBhp9rAIARwmentau8XmHIlBAJsytXYlhafBF 6CZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679919949; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uslYjtv4m4AksflLGnoX5lwwTxOvcq4QRw5RlSVhmQw=; b=qMdSWY4ptLBds11vurm5YlOoeX4+z0/JBsW5dvGexzaymwArL21tdwQur6LErC9RYN +yTD78XgCU4on/5IixvopRUnHwDIX3+tLylPkvQSH0CfrCKXrry9USz4bpVno5hCA6BN MKM9Zq4rbhTUQdghCtmK+pBJQimbrksPmf0sz6PgEgUmv77gS/+GmqscwUIxR7QHj+CD vfh6roI2Qd3LBGGN7DHguxT6oo1WxavhIcISNuS3LdXDqpvd4iRqvj2dZkzwxhM2hAZi 0jOHEaiRH50BtLVVZLpIH9/05Oi6sQjuzbveHUPy6RyAzd4qQusHDqZrKuC0DgbMG+ZD CKug== X-Gm-Message-State: AO0yUKUSMlCE9E0x7sv7ihpsjNqL0w/F0H6L4jJzSwEtVnB0vjxwY5Tu eUjU4Ex1D9wUfx3cdYvxzmm1EaNEqdM= X-Received: by 2002:a05:600c:d2:b0:3ee:9909:acc8 with SMTP id u18-20020a05600c00d200b003ee9909acc8mr9576073wmm.32.1679919949093; Mon, 27 Mar 2023 05:25:49 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id i6-20020a05600c354600b003ede6540190sm8895718wmq.0.2023.03.27.05.25.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:25:48 -0700 (PDT) Date: Mon, 27 Mar 2023 15:25:43 +0300 From: Dan Carpenter To: Khadija Kamran Cc: outreachy@lists.linux.dev, Marc Dietrich , Greg Kroah-Hartman , ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: nvec: replace udelay() with usleep_range() Message-ID: <453453f4-1496-4735-8fab-efb7e4240e05@kili.mountain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 27, 2023 at 05:24:03PM +0500, Khadija Kamran wrote: > Replace 'udelay()' with 'usleep_range()' with 1000us as upper limit. > This issue is reported by checkpatch.pl script. > > CHECK: usleep_range is preferred over udelay; see > Documentation/timers/timers-howto.rst > > Signed-off-by: Khadija Kamran > --- This kind of change requires you to test on the hardware and have slightly in depth knowledge of the spec. regards, dan carpenter