Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2619609pxb; Sun, 17 Oct 2021 20:42:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF4VMdEPuIQ+nWa0dENpK5zXoKzJZZ/lh4zQnwfoHoWB1YIYn8uwNer5CUNv6Fcc2mZyKP X-Received: by 2002:a17:90a:f291:: with SMTP id fs17mr41188779pjb.102.1634528564649; Sun, 17 Oct 2021 20:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528564; cv=none; d=google.com; s=arc-20160816; b=Foid7r7lcFgr4cwVcjb/Tc1Bnwm/41C+/h3rZ7D2nUKQxmJBnxjboiyWXQJQAY46+F vKt4Y1YE+Jh9oaAqBkW1igsR339OtHw33mFOF9TbgTucq5EbIOFB4PPlwj6RvyIE1Oxc 1Q8BcDnrHOXtSTc9GehXhMDyq539bexmb8WqrQhcghxYwKDWPj66Tto74s+4p+CsVIwz wRi8hNd5VuK0jvhcS09JfkfpGZ3muPzQttetoNh5AXRe1xlS5WjIX3+nOEnCWmNAoouF 0j9xnnFHUQ53+0PnG6zEN9+dl4epbOJljzeeR9u052t18LFcPXgyRkkeDBvKoZtI7NQb oKdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:ironport-hdrordr; bh=D7YvTJ/PDl+8lfxzsPQ+XLCtH05HpMXU5LCslrqnPSk=; b=zPPqbs/v0Ds7hyqAwpwl4SbXRzmgLIdeZ5Z2j4y7fsYYODdbzHHO6p5221zly3zint YJ9xZ0E6HUR9Ybs8YPsyFazmOMJwCuBAn/H77uN2Ys2K2SBUwGbwP6OVSCXEeL2FJvH0 rnbOQRnoYbsVhFlYl/0MTJq8/PhuOlyvTNJ8Msec4epbHimuzU8hsXShkZzDCQ86s9xZ Om/DhBLZtbAP5z+4oYfD/8TQmOOBDB9AgkFX9rEpDjCZxKtNd9Tl8hCkvctV3Yh0XRBt Si+PoxuEpm2xMKqqRprFNGwanhxAfRAqzw+90GtBVxMgPtkq+G2ibFs3F7t2wayg7SYH DcDw== ARC-Authentication-Results: i=1; mx.google.com; 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 f4si10169439pgf.639.2021.10.17.20.42.30; Sun, 17 Oct 2021 20:42:44 -0700 (PDT) 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; 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 S244994AbhJQGT5 (ORCPT + 98 others); Sun, 17 Oct 2021 02:19:57 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:26822 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241454AbhJQGT4 (ORCPT ); Sun, 17 Oct 2021 02:19:56 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AFoPTaaEH1yAEJnI+pLqE78eALOsnbusQ8zAX?= =?us-ascii?q?PiFKOHhom6Oj/PxG8M5w6fawslcssRIb6LW90cu7IU80nKQdibX5f43SPzUO01?= =?us-ascii?q?HHEGgN1+ffKnHbak/D398Y5ONbf69yBMaYNzVHpMzxiTPWL+od?= X-IronPort-AV: E=Sophos;i="5.84,326,1620684000"; d="scan'208";a="396145444" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2021 08:17:45 +0200 Date: Sun, 17 Oct 2021 08:17:45 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Kushal-kothari cc: linux-arm-kernel@lists.infradead.org, mike.rapoport@gmail.com, kushalkothari2850@gmail.com, outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, nsaenz@kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [Outreachy kernel] [PATCH] staging: vc04_services: Fixed checkpatch warning: MSLEEP: msleep < 20ms can sleep for up to 20ms. In-Reply-To: <20211016215527.119189-1-kushalkothari285@gmail.com> Message-ID: References: <20211016215527.119189-1-kushalkothari285@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Oct 2021, Kushal-kothari wrote: > Signed-off-by: Kushal-kothari You need a log message. The whole thing should not be in the subject line. The description of the change should be written in the imperative, that is Fix instead of Fixed. But in any case Fix is not a good word to use because it does not explain what you have done. What fix have you implemented. The log message should explain what you have done and why. Please carefully read the entire page: https://kernelnewbies.org/PatchPhilosophy Please check your patch against what is suggested. julia > --- > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > index 6fbafdfe340f..80a7898c5331 100644 > --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > @@ -857,7 +857,7 @@ vchiq_bulk_transmit(unsigned int handle, const void *data, unsigned int size, > if (status != VCHIQ_RETRY) > break; > > - msleep(1); > + usleep_range(1000, 2000); > } > > return status; > @@ -894,7 +894,7 @@ enum vchiq_status vchiq_bulk_receive(unsigned int handle, void *data, > if (status != VCHIQ_RETRY) > break; > > - msleep(1); > + usleep_range(1000, 2000); > } > > return status; > -- > 2.25.1 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20211016215527.119189-1-kushalkothari285%40gmail.com. >