Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1839638imu; Sun, 16 Dec 2018 09:58:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/UEoG6U6ku3I6sqnBHQLGjXKf3bPdqFwhgpVK8ZxxkA8r40C2/Zf+++mudZPddoAbVnClYt X-Received: by 2002:a63:ec13:: with SMTP id j19mr9481912pgh.6.1544983117168; Sun, 16 Dec 2018 09:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544983117; cv=none; d=google.com; s=arc-20160816; b=iDfUDOlHvEk+PaB8f6yy1pbFDtd1ugD4SDJrjpW2ntVllN9sgG/No5gcXDukpmJ175 8clrmheq6zRPJS9uub8V/s9Z+pWF9JwQmGcxlaQEbyaCiaCFbcIB23ZC97J0P+kpORQ7 JoMn8Yi6DjagtVZaAIfl1W4/9h32WmTHptqy/wpwu9mArPARvY+V13eu5QCFAh9yudtA G+DHu+8NPXtjFA0ZApuKs5ui6X6FX3y2yhASPri38Keymgr1FMz+ZnmU22Zq1h69lPN2 A++5BbZugbgv/Ew2n2trFU94ao6oi20Omc3rCy4cNDA1Fq8F03zbAE5hinAtK/5/U8RQ GYUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=dWNTyrEMn4XMAIPY+Ff/cpCouPifkd992PrvRXuV82o=; b=WgWpqvuBA9rrwqoMbMhF0QmSIAQp8AdBT/g46xIrfch4dL0N92LDJdjWAAfkI8pIJo SHZQJOvpJhGgYfNn+iGHxNPififRaUfmyRnMcjDhs8MBTjp4o41zyyXoJoL7OQPDa709 quIjPqkAoBk9uXVFFAzlKz2llkyJk2zojeHSX0bVkvICYcved6yVUSciSgPcwLFlqZvx g5+5E4a+GVndlsJuYjMCjlCYwtRJW1SRtR0l7mjAkL1b/hOqz0oCtBuhJBWRmLfi1VGT nT5+PJggER1kKubNCqS313jTpm/1+rkFuGYrMBh9n3NAoJnHuOxNdbpKWS5rlfp9zIhX e0bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j91si9396806pld.395.2018.12.16.09.57.48; Sun, 16 Dec 2018 09:58:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730696AbeLPRr1 (ORCPT + 99 others); Sun, 16 Dec 2018 12:47:27 -0500 Received: from smtprelay0231.hostedemail.com ([216.40.44.231]:36400 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730449AbeLPRr1 (ORCPT ); Sun, 16 Dec 2018 12:47:27 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 9800B100E86C0; Sun, 16 Dec 2018 17:47:25 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:4321:5007:6119:7903:10004:10400:10848:11026:11232:11658:11914:12043:12296:12438:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21324:21627:21740:30030:30054:30070:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.14.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:28,LUA_SUMMARY:none X-HE-Tag: cub06_40a9d16c48d3b X-Filterd-Recvd-Size: 1997 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA; Sun, 16 Dec 2018 17:47:24 +0000 (UTC) Message-ID: <1bfa8186371146e05bc0d84e308e0e08115236d5.camel@perches.com> Subject: Re: [PATCH 2/2] Staging: nvec: nvec: fixed check style issues From: Joe Perches To: Amir Mahdi Ghorbanian , marvin24@gmx.de Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, ac100@lists.launchpad.net, linux-tegra@vger.kernel.org Date: Sun, 16 Dec 2018 09:47:23 -0800 In-Reply-To: <1544979463-10126-1-git-send-email-indigoomega021@gmail.com> References: <1544979463-10126-1-git-send-email-indigoomega021@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-12-16 at 08:57 -0800, Amir Mahdi Ghorbanian wrote: > Fixed an endline open parenthesis issue and replaced udelay() by the > preferred usleep_range() function. Not all checkpatch bleats need to be fixed. Function names with 40+ character length identifiers makes fitting within an 80 column limit nearly impossible. > diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c [] > @@ -382,8 +382,10 @@ static void nvec_request_master(struct work_struct *work) > msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node); > spin_unlock_irqrestore(&nvec->tx_lock, flags); > nvec_gpio_set_value(nvec, 0); > - err = wait_for_completion_interruptible_timeout( > - &nvec->ec_transfer, msecs_to_jiffies(5000)); > + done = &nvec->ec_transfer; > + timeout = msecs_to_jiffies(5000); > + err = wait_for_completion_interruptible_timeout(done, > + timeout); This was easier to read without the temporaries. And where are done and timeout declared? Please compile your patches before submitting them.