Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2698074imm; Sun, 7 Oct 2018 09:43:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV61kIj3rbFULdoD9q+ClxJbEkJuAA/MNkXrLVPqK5B5jG+gTM3Hj46OZ/x2cGWTGtXsOsuX3 X-Received: by 2002:a62:401:: with SMTP id 1-v6mr21337546pfe.236.1538930618892; Sun, 07 Oct 2018 09:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538930618; cv=none; d=google.com; s=arc-20160816; b=kZJ/I/iYlbgYFfM5352k5Tr+hsWWupdIPU72xMKY4l28fyVV5C5ftd22wmQhMnW7PG PpYVZDC0VCZEqKXv0yzIqiKnUQWjU/R4opj3vO4He9IQ6KJocz7DwMBhYpckaUKnr2xJ uq61q+ItSshP2nDgR1uNfiHhWS6yXlm6ai1zj1dAWsIiD/0V3qloCJCwKeXURdW74iSo Vw1cE2O9fSiA//rzd0hM3yTQr5NTqaZYrT4iXf+JCbv5DWOgyEh+rHz69pu49jAuomc9 HOSWbMxKZu3YcrWGXbN9p9kD/gg5jgicaTMCPwtmbZEx+CTKPRz4jXJON/O7yhx1m2zc CFSw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3RJ/PpR2SiyDZeo4UYZDXjbXqBdIxQbVxjjtIkm/hSM=; b=nWsrI4snJQyCI0yW9dlR7KjEKANGV7M4a4Db0eCMiHponYMgrquGP1DlVBMzQLuDAy 9qP0t8e6zXynEKQqeOvlOabUd03mBfWmAtfoUslFxFV81gyrdi/3VNFt3/RW1em+jE+h WuqsTJ1GSTbnVNUCulPoe4mSqTrID/fpCCxi/h943D59FRaaVer1Kzw7mn66tN0xuSKz suWbe8EwuChNCp8pP/BSC3BYduzPCWf9ss4JhFMsXtpGoc5F/RO94oQMnZhiAx/vzETJ ZUh5uWB/3/oOHV0sZZz3MCESYXe8Iw3LUZkO0GP67Qb0XC2NJNnXUPfKJzCyzv2zUXGN YomQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2szqLf9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k135-v6si16863100pfd.168.2018.10.07.09.43.22; Sun, 07 Oct 2018 09:43:38 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2szqLf9G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbeJGXuJ (ORCPT + 99 others); Sun, 7 Oct 2018 19:50:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:48500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726803AbeJGXuJ (ORCPT ); Sun, 7 Oct 2018 19:50:09 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4F28206B2; Sun, 7 Oct 2018 16:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538930539; bh=IwYNJAirhlmodu5hp+XsVP5bFcvJPmOV/t8rIL0ZKLs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=2szqLf9Gyl47glk7XI/efL4yMF/bBp7EG6a3kzKTMFgnTNPn7NfpsxqJdfUfRSThh T/VtVyi+dJg4lwHgTQuDvxEzFi1DUdjRVn4n9TEA9wRsH9GqPqrVHuDwlhjiYvKnsw opk/kEMFqB883tmft4R8kVc1gnwbyFSmCV/SSWws= Date: Sun, 7 Oct 2018 17:42:14 +0100 From: Jonathan Cameron To: Matheus Tavares Bernardino Cc: Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com Subject: Re: [PATCH] staging: iio: ad2s1210: fix 'assignment operator' style checks Message-ID: <20181007174214.2ecf61ee@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Oct 2018 22:24:26 -0300 Matheus Tavares Bernardino wrote: > This patch fixes all "Assignment operator '=' should be on the previous > line" checks found in ad2s1210.c by checkpatch.pl. > > Signed-off-by: Matheus Tavares Hi Matheus, Good change, but unfortunately your email client as converted tabs into spaces so it cannot be applied. Try git am with this email and you'll see what I mean. See Documentation/process/email-clients.rst for some hints on this. Looking forward to V2 with that fixed! Thanks, Jonathan > --- > drivers/staging/iio/resolver/ad2s1210.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/iio/resolver/ad2s1210.c > b/drivers/staging/iio/resolver/ad2s1210.c > index ac13b99bd9cb..d4b1c2c010f2 100644 > --- a/drivers/staging/iio/resolver/ad2s1210.c > +++ b/drivers/staging/iio/resolver/ad2s1210.c > @@ -301,8 +301,8 @@ static ssize_t ad2s1210_store_control(struct device *dev, > "ad2s1210: write control register fail\n"); > goto error_ret; > } > - st->resolution > - = ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; > + st->resolution = > + ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; > if (st->pdata->gpioin) { > data = ad2s1210_read_resolution_pin(st); > if (data != st->resolution) > @@ -363,8 +363,8 @@ static ssize_t ad2s1210_store_resolution(struct device *dev, > dev_err(dev, "ad2s1210: setting resolution fail\n"); > goto error_ret; > } > - st->resolution > - = ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; > + st->resolution = > + ad2s1210_resolution_value[data & AD2S1210_SET_RESOLUTION]; > if (st->pdata->gpioin) { > data = ad2s1210_read_resolution_pin(st); > if (data != st->resolution)