Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3054715pxb; Mon, 4 Apr 2022 06:48:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN6kWQkNb37n1+DxY5HCHKfJ0lF7ewE3iW3eWnsomJl4tFu+VReFz6SmkeawovUmRyHDPs X-Received: by 2002:a17:907:9713:b0:6e4:4a49:7d0f with SMTP id jg19-20020a170907971300b006e44a497d0fmr133231ejc.252.1649080102155; Mon, 04 Apr 2022 06:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649080102; cv=none; d=google.com; s=arc-20160816; b=JKRplVxLpeCTf21/azNW//NvjkEqOtQNfFPCXLuvbugMcDgkraZVXuXXG4DIasXgPU WlkP9hZqEOrxPQByAUhmCFb0hXK/8vNZndzaFg5bjtVt3OX9Z2v8NXpz823T61yh0vrY i3dGE0JqiOcBTskL9DcsKxTik0gC57vGD3UsI/LSOrxT2SgMPRLAyitYdixBjwA+K7oN 2UWhfI0VIgmTjQV9psZHsgh3CX3YAJRBuzeXXTpwQGwVSVBBevbD+1mhfFr8I8yxJHAw I5T8O1CUXM8eFWBcDL8Mm75zFHFz2TKYjsWg/79fZrROhtokomYJIgHlR0V9nyJCNZXZ e3pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9SG4Z0l0fADcIlTSeBp9vl6gG/UkpWXMOo9F2f08n6w=; b=fQfQfcqaFfER+scgE/E5rPY7PCYdV+dBsA1FiFLQ72Ep8J9q9LEvtNAw1XWgybMELl aGLPRDX4mD8t3HCU73riwIB0vponlv5ytx+TcJRMRmViVU0EZ6OVaKnfU9Sa+yEpYfbg ML83RkgVn+Kf9ZrTpDTR1XOtt2bSfslQ6jPvVYQmXrH7SFEPbaoQ5rqg/bgS60KsIWZw qLpBhWQEFH2lzN9SNkBUtVGyB2GZeADNyLvcsDqI3xTy8ecUl/0MJmZXJ8wuGpTig4cf BIGmt15pdajsEWq44u1Is/XU6ER/iYSvvbRV0jLEI84obglGQg37bb3jk+s9A7g2XAp6 fB8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="vPb4/LeX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a170906368e00b006df76385becsi6269067ejc.140.2022.04.04.06.47.55; Mon, 04 Apr 2022 06:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="vPb4/LeX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1357951AbiDBQW3 (ORCPT + 99 others); Sat, 2 Apr 2022 12:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357947AbiDBQW0 (ORCPT ); Sat, 2 Apr 2022 12:22:26 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3102583B9; Sat, 2 Apr 2022 09:20:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 6313ECE094D; Sat, 2 Apr 2022 16:20:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2845C340EC; Sat, 2 Apr 2022 16:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648916431; bh=XgXaNNuEeJ937JoBXfirPFs0iHTDR3KVxroTM16ZOXU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vPb4/LeXLtPgTtnh7SrubheryX+KZ17p/OHrO4TkrXgkO9FhxVggv5bJT9FYBWDrq aX80NsOmWenz6OU8e9MeBUpt9eM1o/xRzR4aMdWW3XEdLd7p3eWfolcg+xSuyfd60B n5JblRKN3D6nc5uLOCywV5qK78+9yFd+FcFAwAnUQLfk0ZaPMwuQcM9Q9LOoX7fV5K 7Kv5IGozbe4fWdJ4UGunY6520k0GykjiGT1PqlGyK1DWkv22CdDNf/ftWTFqS1/UJV vmK0qLUku6ASQSQuYINzy5BNWPBxfQhm+voxZoWDjDNa51CgFNI67kAIbUb4hnMQpw TjnqwWrgwZwyQ== Date: Sat, 2 Apr 2022 17:28:14 +0100 From: Jonathan Cameron To: Paul Lemmermann Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IIO: accel: dmard09: fixed code styling issues Message-ID: <20220402172814.5117cdb7@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. 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 {