Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1727819imm; Mon, 3 Sep 2018 07:58:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYZKQGwDupUPfpmOeSBvKb0xRr13wv6hvlW4lYiuB8kRKE0O/5FB+1DrubE+L7oRFdD6Hzk X-Received: by 2002:a63:3387:: with SMTP id z129-v6mr26749831pgz.104.1535986716087; Mon, 03 Sep 2018 07:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535986716; cv=none; d=google.com; s=arc-20160816; b=Acfby2lzkEy5RXSGa6Mm+tsazZrq1QpSOm+o4vZqVQ+A+FuuYJ+UZ+MeEt7pYTfJhA 4L7sRHpC2ZyyZckWSmQg+/Uznb0nnnroDefrExEmJmgij63m/dTMgxzGSl28eGT74ed9 RiWTvSxMy0jeVt8R4zjc537t2HqNpflItyB9T4ZLU3fpx/cAoqi4L0yfvn2hiy+Al96w zF1wzRQqeU7jPByaWiLSkUk1JDuCSHnSUZjK3Ystr3/fdgkObhWqzJI5YUHbIH11GnRt SxVruq3FUGABU3HzULv8MZXX14K2n7sgoOP0Gox9NnPLeAPGiOmAHSrDtCPZqQlBKi3K 2Fog== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=A1zPiC1g3ssqLdoM0kYmiOeES0gICfYTd9ogtUBXQ40=; b=q0o6Ox97nxLYhtRCNYlkDJ6XustGnfSnfvmOxjxelAdqnQC8bwAVTm/4IvvCaxF8Pu 9IX+zTSHpYtyZ8qNITdWQ57Z0XrBjLJrKUQjYUYagaGkbVvG1ZOqIa1UqOUq+G4HUQLG WFqwY9BYk1ay/gTRKTEKj/m5nOJsEwz2ZUL4lBJhtDSNlb1rZHUoyqx9uWB/RZJfxIs/ RZxiARc9BFMmbB8966axmqB+GeVzFma19Elkszf0QXYQi0mukxS56leQejqXv7K1CzmH 8lMGnk4umViyjAzB4mXRHLhzXt3dQcbQSnoFFJY9GMqiKZ9BQXqDptymqa+/TpAFMV8m r0Cg== 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 u20-v6si18307032pgj.443.2018.09.03.07.58.21; Mon, 03 Sep 2018 07:58:36 -0700 (PDT) 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 S1727402AbeICTRS (ORCPT + 99 others); Mon, 3 Sep 2018 15:17:18 -0400 Received: from smtp73.iad3a.emailsrvr.com ([173.203.187.73]:42757 "EHLO smtp73.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbeICTRS (ORCPT ); Mon, 3 Sep 2018 15:17:18 -0400 X-Greylist: delayed 531 seconds by postgrey-1.27 at vger.kernel.org; Mon, 03 Sep 2018 15:17:17 EDT Received: from smtp34.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp34.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id D8C0C24CDB; Mon, 3 Sep 2018 10:47:56 -0400 (EDT) X-Auth-ID: siepeng@mev.co.uk Received: by smtp34.relay.iad3a.emailsrvr.com (Authenticated sender: siepeng-AT-mev.co.uk) with ESMTPSA id 54EBA24CBB; Mon, 3 Sep 2018 10:47:56 -0400 (EDT) X-Sender-Id: siepeng@mev.co.uk Received: from [10.0.0.185] (remote.quintadena.com [81.133.34.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.7.12); Mon, 03 Sep 2018 10:47:56 -0400 Subject: Re: [PATCH 1/4] staging: comedi: Correct multiline dereference as per TODO To: Ray Clinton , greg@kroah.com Cc: hsweeten@visionengravers.com, linux-kernel@vger.kernel.org References: From: Ian Abbott Organization: MEV Ltd. Message-ID: Date: Mon, 3 Sep 2018 15:47:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/08/18 18:32, Ray Clinton wrote: > Using checkpatch.pl I was able to find a multiline dereference which goes > again the coding style for the kernel. I'm still working on my email client so > the indentation looks bad here (in gmail) but the arguments for > comedi_check_trigger_arg_min should go just under the opening ( The patch description should describe what the patch does, not how bad the indentation loos in your email client. > Signed-off-by: Ray Clinton > --- > drivers/staging/comedi/drivers/dt3000.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/comedi/drivers/dt3000.c > b/drivers/staging/comedi/drivers/dt3000.c > index 2edf3ee..6bc5c86 100644 > --- a/drivers/staging/comedi/drivers/dt3000.c > +++ b/drivers/staging/comedi/drivers/dt3000.c > @@ -439,9 +439,9 @@ static int dt3k_ai_cmdtest(struct comedi_device *dev, > > if (cmd->scan_begin_src == TRIG_TIMER) { > arg = cmd->convert_arg * cmd->scan_end_arg; > - err |= comedi_check_trigger_arg_min(&cmd-> > - scan_begin_arg, > - arg); > + err |= comedi_check_trigger_arg_min( > + &cmd->scan_begin_arg, > + arg); > } > } > > -- > 2.7.4 > I can't get the patch to apply. Something is converting tabs to spaces, and I assume it is your email client doing that. I recommend using the git send-email command to send the patches, after configuring your git to send emails via Gmail. You can google how to do that, but here is a starting point: https://gist.github.com/jasonkarns/4354421 -- -=( Ian Abbott || Web: www.mev.co.uk )=- -=( MEV Ltd. is a company registered in England & Wales. )=- -=( Registered number: 02862268. Registered address: )=- -=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-