Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1919939imm; Sat, 6 Oct 2018 13:34:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV61a390Y+K3+RkIOzd4Qv1Sd3mIpAPlujEmqmNfB2FluQz9dH9U+dR7D/8ipnz3Kb/tFCK4K X-Received: by 2002:a17:902:a50e:: with SMTP id s14-v6mr17333622plq.78.1538858077540; Sat, 06 Oct 2018 13:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538858077; cv=none; d=google.com; s=arc-20160816; b=Sp2K7GWtnFh/bWdtI8Cbs/pUp92gmHFsumisnPq00oNH9P+4NSFcIHOadfpuRGotMw 4crMhkuKw98bjdMXBowZnma5kJM2oBgwMlaXnU+BodJQw6PHFFdKAfu/9aNndYkMupXg 9o1DyIMk/E6ymAXLVPSVCFjpHTk8BWaA5Ifbs2uMgy9pjTPrn+h7ATF30qTx3dE92yxv wIHPRF2at3hxUlwm8mEcw6h8UgljAX5IefGuajxI6WzpSRc1ihshZS+aziZAgK7vBNS5 bCezOTQQ5JnMDcPr/NaGTz+dHzyo8VjY1gUowE9TeUPTHPUS7zD3YtWKURZ4HdT/myJ6 8cVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7Dv+PW3k8iZOHDpuvzSY+t40mqM8A6fuZz02d+C8PZ0=; b=MoWxNYzVSArC092eEJ4WTLzJDKUdWM8v9ll45jXF/mk+T6epwECVb7X2XKtW1qy2DH xP7NKZdGv3tCTsvPuFJhnr68cJzQpGxeT054VkdMgo7+lrKUDae/NclXwRzmMF5s9Ago wnzS0BpSNWEl+6ipzfAkLzrc1imGS+0WCiUbwLoroYFL7CUKMdi+UDBxEXLL6Es0cB6x bRn1yGK/4UGJuLpq4O8Flhjw8A0p5gqVFdwnZKjDNlYwnaNHagTFYs1Yco3L6cLThHbv hclcymY47kMaBLP4bW4/X8VqSyHjqPrRi8HtGxF55i0JFJyjBr7K4VzPNr1kYVgZQNox jf8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@interia.pl header.s=biztos header.b=eqiLn1RR; 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 y9-v6si12653932pgs.214.2018.10.06.13.34.22; Sat, 06 Oct 2018 13:34:37 -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 (test mode) header.i=@interia.pl header.s=biztos header.b=eqiLn1RR; 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 S1728140AbeJGDhd (ORCPT + 99 others); Sat, 6 Oct 2018 23:37:33 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.157]:51010 "EHLO smtpo.poczta.interia.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbeJGDhd (ORCPT ); Sat, 6 Oct 2018 23:37:33 -0400 X-Greylist: delayed 437 seconds by postgrey-1.27 at vger.kernel.org; Sat, 06 Oct 2018 23:37:32 EDT X-Interia-R: Interia X-Interia-R-IP: 188.121.17.172 X-Interia-R-Helo: Received: from x220.localdomain (ipv4-188-121-17-172.net.internetunion.pl [188.121.17.172]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.poczta.fm (INTERIA.PL) with ESMTPSA; Sat, 6 Oct 2018 22:25:29 +0200 (CEST) Date: Sat, 6 Oct 2018 22:25:42 +0200 From: Slawomir Stepien To: Gabriel Capella Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Greg Kroah-Hartman , Michael Hennerich , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: iio: adc: ad7280a: fix 2 checks Message-ID: <20181006202542.GC5035@x220.localdomain> References: <20181006162715.GA8476@mantaray> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181006162715.GA8476@mantaray> User-Agent: Mutt/1.10.1 (2018-07-13) X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1538857531; bh=7Dv+PW3k8iZOHDpuvzSY+t40mqM8A6fuZz02d+C8PZ0=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To: User-Agent:X-Interia-Antivirus; b=eqiLn1RReh+WSmOzIU98W0jtgDzz/AUmpBBrJxdKxWWIXEdRe9wHBYsCcbZQTmwsU Hh8E93pRlRTZUjDJcXLZBJX69hHSkcQWPE8Oung32+RP1sT+e20nn6gWYsGRq99bu8 iBLXtx7mp3UkJ8TLsyVs+fJend/rZGjvKMug/DZ0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On paź 06, 2018 13:27, Gabriel Capella wrote: > This patch does not change the logic, it only > corrects the checkpatch checks. > > The patch fixes 2 checks of type: > "CHECK: spaces preferred around that '-'" I've made the same mistake few days ago. This change is incorrect. Please see: https://lore.kernel.org/patchwork/patch/635994/. > Signed-off-by: Gabriel Capella > --- > drivers/staging/iio/adc/ad7280a.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c > index 58420dcb406d..a4b4f8678c56 100644 > --- a/drivers/staging/iio/adc/ad7280a.c > +++ b/drivers/staging/iio/adc/ad7280a.c > @@ -750,14 +750,14 @@ static irqreturn_t ad7280_event_handler(int irq, void *private) > } > > static IIO_DEVICE_ATTR_NAMED(in_thresh_low_value, > - in_voltage-voltage_thresh_low_value, > + in_voltage - voltage_thresh_low_value, > 0644, > ad7280_read_channel_config, > ad7280_write_channel_config, > AD7280A_CELL_UNDERVOLTAGE); > > static IIO_DEVICE_ATTR_NAMED(in_thresh_high_value, > - in_voltage-voltage_thresh_high_value, > + in_voltage - voltage_thresh_high_value, > 0644, > ad7280_read_channel_config, > ad7280_write_channel_config, -- Slawomir Stepien