Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3432792pxb; Mon, 4 Apr 2022 16:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV/bhWv6E3Op36LFnEeB6ebJyx1BHrKgFUp0i56p8yRg8nuL+TxsAdtAnqT7fDKVBX6eql X-Received: by 2002:a17:902:f612:b0:14c:e978:f99e with SMTP id n18-20020a170902f61200b0014ce978f99emr692319plg.23.1649116255466; Mon, 04 Apr 2022 16:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649116255; cv=none; d=google.com; s=arc-20160816; b=NB+pH1t4Xt+SDt11JkLbPwoOhDZXFgcC7Y6yDr7k9obhfTBi7UWj/F1C/YNQ5sXDWK zUD5RR4ixnDtPSdsdxLmH0bvnI1O7y2HbdDZYd9tupOGq5FgFpz4pigCz+J/CDnGKFPC DPOfun+UZ52K0PlmUZ7ZyDyrJhm83K0p/LSI7VKVzM7QtTb9DXOaCBmQmUjqKCVBhjVv erzIycDRnzKvC+uGMh4iOhXtFNog7bxmykvi439tpQCYNu8KN7LHyGG4S1WPT3QgT2kH EKtu6TLOPOaWkLaZamo9qSLlVZvTeeC4krLaHUE+EgerJzN2upE+f13Xhw/aP08sNLuX 5c8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yX0frXB3ZRR4o2VxIqGNovj2yMRFGPC8kFDcM/D7k2E=; b=q+oxEFrpJf9Nmt2dBCnO8Fqwpd+juGxeArdsVhCjbldwfc3jdb5CXxMUX28G6NcSBv l81G8VtvyPldsN16JpYkZ6nrgys71qGsVW3lHG4CnRRNlZfTu+RkcoSqRVch6hKODr2o Mk//28NJOOG2/hKY3n0v5JPHR63O5vdSZn/5V3cLuTuyjtjc7RrpRRXAu1/zM4/8BHZh nyo+NNSG4yn95A4cNpX8pdAt3IxYUJ60dnLtcZMVl1g1CEeh1hH814MMnhYFTLKap0eG 56SKMpyXINbyMm6X6ZtU6HX+l15KTgfpHZezqAmnhkd6B8n7ScnF1+trl51PSMjrZW7X NlRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@thepaulodoom.com header.s=mail header.b=MNNXOUkV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=thepaulodoom.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u8-20020a63d348000000b003816043efecsi11456424pgi.481.2022.04.04.16.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 16:50:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@thepaulodoom.com header.s=mail header.b=MNNXOUkV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=thepaulodoom.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 247A75BE43; Mon, 4 Apr 2022 16:35:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343739AbiDBUEJ (ORCPT + 99 others); Sat, 2 Apr 2022 16:04:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243739AbiDBUEI (ORCPT ); Sat, 2 Apr 2022 16:04:08 -0400 Received: from mail.thepaulodoom.com (www.thepaulodoom.com [45.77.108.202]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AFD3910FD2; Sat, 2 Apr 2022 13:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thepaulodoom.com; s=mail; t=1648929731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fJ4mwsha3lQSqlBrzoJlxnsLLf/Tzlgc86esu7PtlcA=; b=MNNXOUkVP5cBP8wi+pvh/BperKoqa8Vb/0jWXD9lJYD3lzBlvhX25xDPiNQGv6uwQadte3 H6zLAQJLX8qRhnkaOoC65lq3v9te975SvGdHtlRHaSdVL81t463f+ZX8z1O6bvg5/fugmo Tyt4W4QPLOs0vtvBiDf/88OXBaC3LEPeRUYeea/DPsXqyPDGC4V+AqrmiAUniGBMBQgfa/ FiF512e/zKirwKzHm0AzhFTly4sy5xLMzL4XmGr6rJ1TLiDgmvQ1tXpYrxmPfAASoX9o00 kaFM0BcVLvGka9M5FkkHPu49Zt+FfOfv1A3Ky/m4SENjWOIj24k+s9YeT42XzhVsGWpW6J TAPSTnc2mzHg306zmMLPEwdcqG0QsvIbfSpZMkBSa5vTaQ4IX8hEn0fD1v4QlXElTwdgBp +BIbBGA3MPNEf7+DRtrlQSwm9CpHzHZBuXkqwFxgDEgZyeV+jkaOwJRAdiHFhwbH5PmA1+ ZXB0TOMYM8+bnQp8x09JkTK4vgKVoFkwSG/V2hA+/ZfFaixFNuZhbaVXpl4XH2AurWE5ax kyh2eInBZCNfOMHUM4t16a0IL8YilMTpNSvc0hEaqq3VPw2L4uMQNlTDd2gkCBqPEwvjKI tEO4rfKSSTbVjFwd9KAJrX1CgO0MnFKVUTNVhQp9FhG68jYcodYlg= Received: from hp-amd-paul (c-98-240-189-147.hsd1.mn.comcast.net [98.240.189.147]) by vultr.guest (OpenSMTPD) with ESMTPSA id cdd70f66 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 2 Apr 2022 20:02:11 +0000 (UTC) Date: Sat, 2 Apr 2022 15:02:09 -0500 From: Paul Lemmermann To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IIO: accel: dmard09: fixed code styling issues Message-ID: References: <20220402172814.5117cdb7@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220402172814.5117cdb7@jic23-huawei> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 02, 2022 at 05:28:14PM +0100, Jonathan Cameron wrote: > On Mon, 28 Mar 2022 16:48:16 -0500 > Paul Lemmermann wrote: > > > Cleaning up code. > > > > Signed-off-by: Paul Lemmermann > Applied to the togreg branch of iio.git and pushed out as testing > for 0-day to see if it can find anything we did wrong. > > BTW. You seem to have sent two identical copies of this patch. > I randomly decided to apply this second one. Yes, I accidentally sent two identical patches. Sorry! Thank you so much for applying my patch, Paul > > Thanks, > > Jonathan > > > --- > > drivers/iio/accel/dmard09.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c > > index 53ab6078c..cb0246ca7 100644 > > --- a/drivers/iio/accel/dmard09.c > > +++ b/drivers/iio/accel/dmard09.c > > @@ -24,7 +24,7 @@ > > #define DMARD09_AXIS_Y 1 > > #define DMARD09_AXIS_Z 2 > > #define DMARD09_AXIS_X_OFFSET ((DMARD09_AXIS_X + 1) * 2) > > -#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1 )* 2) > > +#define DMARD09_AXIS_Y_OFFSET ((DMARD09_AXIS_Y + 1) * 2) > > #define DMARD09_AXIS_Z_OFFSET ((DMARD09_AXIS_Z + 1) * 2) > > > > struct dmard09_data { >