Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2534310rwb; Thu, 27 Jul 2023 08:25:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlFk7CAkDCxV0X/1bT6R4/fAr9hbHh7Cwue9ZPHpYAqTFmv1vLZN5dsGXw0gQUAgZf3uZQP1 X-Received: by 2002:a05:6402:5203:b0:51e:5aac:6bad with SMTP id s3-20020a056402520300b0051e5aac6badmr2936727edd.11.1690471558831; Thu, 27 Jul 2023 08:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690471558; cv=none; d=google.com; s=arc-20160816; b=W2deI9CJN2BqEsM6MGhOI2AGWQdgs/i7eolY9gfqPBLe66g5QivdIZ8QWJNLSNJiDv u4ful30Yrkeuj4haXzql1bbT9kAUzHUzmKNoXVDNHLH2KsOZSD7msWp+GEE7bqt+mxAL 5UKQQi8TLyRiabL+2XdV1yCjScO+1zhbF423x6aDdPGnLS+2eFnb2LYv6dSH7mH3MCZR J/OFWugnrBx0RZhXWZQd+aze4Zh5PJUhwNmrOzTxM5KkK6O1GnCAIBu0I0lWmLfzdmgT xA/Xky0u0gPGK12lgGhyPtmsVtqteSpmuJVP3kQnhA/k7sYgSTzfyXqkgVNGLTrncmMt ckMA== 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=fEBZ7nwX4+WR2daHw/62cQtqGndXRWYqeJ5n2EmpQVM=; fh=JyusTbAHVzfL3bao2wI29u2QoSORelBpQTFApyOem78=; b=sXWJ/juN8LOOxsTXVqS9DKoGf/QFsnbIQAhMSfKO6iJ7v8PeFan9B/UcKf/OAO+b/B WUc66+DAn5S/7B7IQTJt+VGwPkwRWCCvNx2hh9k9PkOydmQmllHKS05pSWNnOfoj+h6p 5wlHR5YSC9r85veAQMNwIEoKtAVarU7wSkCihDVZcippnB7U2hJ5YsVGe9XcpmZPmEEw GhhlZ7zv0GLWZ+lWi+7DD9riqBnyNxEOLhjUgMo2Iv9WRX1uHhxwVG4uN2qdqYJWauHx W6Mm36FZMB6hcb3OXEoqhjpTZt6BW7c5Z/7/1oLczvpSsoj7YSKTNWWZW7dZvF6qFxfb UL0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="U/fb6tSd"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020aa7cf08000000b0052255bf21b5si1127161edy.436.2023.07.27.08.25.34; Thu, 27 Jul 2023 08:25:58 -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=@gmail.com header.s=20221208 header.b="U/fb6tSd"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231618AbjG0OsR (ORCPT + 99 others); Thu, 27 Jul 2023 10:48:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234036AbjG0Orw (ORCPT ); Thu, 27 Jul 2023 10:47:52 -0400 Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AFC35B5 for ; Thu, 27 Jul 2023 07:47:30 -0700 (PDT) Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-56597d949b1so782148eaf.1 for ; Thu, 27 Jul 2023 07:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690469248; x=1691074048; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fEBZ7nwX4+WR2daHw/62cQtqGndXRWYqeJ5n2EmpQVM=; b=U/fb6tSdoJaxcPPyIPZgdIbUDEYxHVdXnlI3CIPKnhNm3gd4UDJx0Ke/ipTtfATzkh wZVgFrcq36MHCttbksmYYwBLo2fUXW50HwE+/5t7aCN2p3q49Taav0+f7PgTnHwcvV+9 1pdtYljEnxNs+qNNQ9Ajvh5NOa/JqWDCB2mNOV1eLQztOV6V/O/wHMj5J4ybY1+FFGRR fflZkjvmdoUazcb3SqS7G7eh6GjQWpkN6VRbaWItUGWBcH1D5B9e2XEvAOhREPRKBC1S NNrOwRUl2gUT1dqF5AlZjrkLxkYJc+lofx8Udl8ONP+IEcQkaeIeYpmchFjbZ28/0Tr3 tYNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690469248; x=1691074048; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fEBZ7nwX4+WR2daHw/62cQtqGndXRWYqeJ5n2EmpQVM=; b=TPopGYbk6rkW9z40Ca0k4K1dc4nvqkl2tuKP+Q80EuQS7qmxrKIJnWIbgSbN7LQpik cBjW9KLAT/QXjz28V92ulcacLvclpeF1LDAGPvbg2QfMWd+4WTTmwdhTsIYoR0B1QmZW vJ6MbdD9R2ttJ9hJXXnnjdfqXWMbXgsQTXsq2/NiU32erKI1CW9FEFsYblLW7WT65Pk4 FcGJDq8XQGL4H3INDMC4V1VgTiQ3h7w3a2Nsu1JCaHynkClgZ4Atq3e66bpDXe9g2jVI PDWKoNHlFtYwAXr9tJ6op5izGW0gU+JbFigRf5si9ZuP7G+DJiqgE+ZkAswHDwC7DYLr xP9A== X-Gm-Message-State: ABy/qLbTokij3U3TZEUqw2erZ6JbJgxsx0K3ylscQkRaO5sa4ZWzY0wJ 7BsutV41ARjdYnLdJrsSW7QRtAWD35U= X-Received: by 2002:a05:6870:e38d:b0:1bb:509a:824f with SMTP id x13-20020a056870e38d00b001bb509a824fmr3382598oad.55.1690469248485; Thu, 27 Jul 2023 07:47:28 -0700 (PDT) Received: from alolivei-thinkpadt480s.gru.csb ([2804:14c:bf20:86d6:7871:f7e9:8a15:865a]) by smtp.gmail.com with ESMTPSA id a7-20020a056870b14700b001bb86ab4325sm746748oal.48.2023.07.27.07.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 07:47:28 -0700 (PDT) Date: Thu, 27 Jul 2023 11:47:23 -0300 From: Alexon Oliveira To: Greg KH Cc: martyn@welchs.me.uk, manohar.vanga@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH] staging: vme_user: fix check alignment should match open parenthesis Message-ID: References: <2023072729-sensitive-spyglass-ec96@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023072729-sensitive-spyglass-ec96@gregkh> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Thu, Jul 27, 2023 at 10:03:19AM +0200, Greg KH wrote: > On Sat, Jul 08, 2023 at 12:55:11AM -0300, Alexon Oliveira wrote: > > Adhere to Linux kernel coding style. > > > > Reported by checkpatch: > > > > CHECK: Alignment should match open parenthesis > > > > #132: FILE: drivers/staging/vme_user/vme_bridge.h:132 > > #135: FILE: drivers/staging/vme_user/vme_bridge.h:135 > > #139: FILE: drivers/staging/vme_user/vme_bridge.h:139 > > #142: FILE: drivers/staging/vme_user/vme_bridge.h:142 > > #144: FILE: drivers/staging/vme_user/vme_bridge.h:144 > > #146: FILE: drivers/staging/vme_user/vme_bridge.h:146 > > #148: FILE: drivers/staging/vme_user/vme_bridge.h:148 > > #152: FILE: drivers/staging/vme_user/vme_bridge.h:152 > > #163: FILE: drivers/staging/vme_user/vme_bridge.h:163 > > #173: FILE: drivers/staging/vme_user/vme_bridge.h:173 > > #175: FILE: drivers/staging/vme_user/vme_bridge.h:175 > > We don't need all of these lines. Hi Greg, I hope you're good and these messages find you well. ACK. I thought it would be good to explain what I changed. > > > Signed-off-by: Alexon Oliveira > > Please don't indent your signed-off-by line, that should be to the left. > ACK. I didn't indent. This was the output of "git format-patch" I copied and pasted. Next time I'll remove the indentation manually. > > > > diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h > > index 11df0a5e7f7b..a0d7a8db239d 100644 > > --- a/drivers/staging/vme_user/vme_bridge.h > > +++ b/drivers/staging/vme_user/vme_bridge.h > > @@ -128,28 +128,21 @@ struct vme_bridge { > > struct mutex irq_mtx; > > > > /* Slave Functions */ > > - int (*slave_get)(struct vme_slave_resource *, int *, > > - unsigned long long *, unsigned long long *, dma_addr_t *, > > - u32 *, u32 *); > > - int (*slave_set)(struct vme_slave_resource *, int, unsigned long long, > > - unsigned long long, dma_addr_t, u32, u32); > > + int (*slave_get)(struct vme_slave_resource *, int *, unsigned long long *, > > + unsigned long long *, dma_addr_t *, u32 *, u32 *); > > + int (*slave_set)(struct vme_slave_resource *, int, unsigned long long, unsigned long long, dma_addr_t, u32, u32); > > Did you run your patch through checkpatch.pl after making this change? Yes, I did it. No more checks about "Alignment should match open parenthesis". > I think you just added more warnings... I only focused to solve the checks related to the message above. Nevertheless, there are still other warnings and checks reported by checkpath.pl non-related to this patch (i.e. not caused by this patch) that need to be fixed, but I intend to help to fix them afterwards in a different patch, so I don't send patches with too many changes at once. > > thanks, > > greg k-h I appreciate your feedback and if there's any other question or request, pleaset let me know. Thank you. Alexon Oliveira