Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp695316rwi; Thu, 20 Oct 2022 04:15:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48KvCZW3AVCuDNhiop6UlyNpvMeAh+acW/NTeYGLJulFGVXtUU+aw1Pe6b+4MhVhh3b+XX X-Received: by 2002:a17:907:6e24:b0:791:905f:7881 with SMTP id sd36-20020a1709076e2400b00791905f7881mr10383509ejc.120.1666264545465; Thu, 20 Oct 2022 04:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666264545; cv=none; d=google.com; s=arc-20160816; b=x0HbOSRSAfhS4RzctZnIjTFZ95a61R4b82WLgDJEhrMGGAgGqw5Fh6wpPfM4eyZ9yt OdZKvp496ax525zaBmzO8vF5tLhWXm/x2ltKDhX7Kp+4Cfw60Dbol32XtbtqjSnY72ih nFicj+WKaPxAuEjY6FjcVC8OuDkLyCbU29wJDzHNHm9/Zfh/Rj5pj8C1IdxUpEXKX5xd 49PvZWp5Ws206ylWaNZrJSAvlD1VPuOPKn9J+/CsX8pJ3wxDEv+8ZlzzwhsBwAj9PqeN SXNWZZjwoYU4hD8Iw8BMOECSx4Z68Tw/rjoE9LlMMNlwnH46coUBnhBKbMxkgwIZRIQI afVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CpepSprjis+5ae/JU6KqavxGncI1IXR7MSlJhihZlRE=; b=wu1LXJufBUhHotlAHHEIHQiXBPWXbvvCoLjyQjpa/AePYpiaEC6ItFNjpa/5WNeUnN 9W8BdTnYmqh67BDyD6p8bPjPirQ2A552GB1ghrETqC0sqzA/3mKzmTQ6FsP77qWqbHBV ytB4/+UwA4Mm++kU92uo0tFXq22oPQL4L5xGcK/g7EmwhStET7zMwBXvAQIbNxT/Ueek BN8KzK7tcQgr6g0mGmxHtXmyj1j2FsZ0asg43JR3M1KJK95/jELlOZHv1OtF6v1EOHcM mDpY1M2cw6YoO1S991aAMIGpX+IogodaI79E0kpKI8+oNpEO/t085VNAnDBzam1A7GPG Eo3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RnZSspVJ; 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 n19-20020a170906165300b0077c5ec87ec2si12128091ejd.297.2022.10.20.04.15.19; Thu, 20 Oct 2022 04:15:45 -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=20210112 header.b=RnZSspVJ; 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 S229629AbiJTK3Z (ORCPT + 99 others); Thu, 20 Oct 2022 06:29:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiJTK3U (ORCPT ); Thu, 20 Oct 2022 06:29:20 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CBBA3CBCD for ; Thu, 20 Oct 2022 03:29:17 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id i12so13213719qvs.2 for ; Thu, 20 Oct 2022 03:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CpepSprjis+5ae/JU6KqavxGncI1IXR7MSlJhihZlRE=; b=RnZSspVJPsuLAA1GS5so0ZEPuWaNegeCiOiYlAnru7F5HLyfB2KyuyNxSgrzHw0Vy2 IapRkkt/DeZ5v7sS8kUpQMYruFQ9HWksNS+r5sSwouZ362WSFqMt4TQX2Ahi1JFVHmMF OS5oiuxgt/y3cha57/q6i4myHFcNMCvRVZAsvHtpBBmjogw0mnM5sGmdLK1Zau11xEsS /YagS8jckr6BX/8OqUuJHdtvCEVrNdaNyJ1AAKEwJtUo9ObvQuqqBnPoGvMg86q3aflD vVeGXjRvjKLvVEMJm4ur3TXIaLjlWNr67kiE9FUBzMQhRllcvUG0EH40M0E+4nrkecTN L+Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CpepSprjis+5ae/JU6KqavxGncI1IXR7MSlJhihZlRE=; b=4A8bn47TFdTwKu0i2bQFr4/fkIBAKEmUKUzWKTD2nZoVNnmlism4oyDnrBxz27ukoK dYfUI2ENFNfpbOZrwxBtcuoDLUkUmHpv5uOCOeFmYyk9V6vBok9nAYV5Q1pp0/PGFHEj tiYUp1SR/VJkPCPwJpMhdTnJn8uDM2vbBVdbOmTGxeSc2tr5r7tV0N23RhutPUQUyImF cwjpilUyPFQBf3kEeMePeDo3yTm18VaCl8Ph5LF7/SynKfrljCz5yGkLFNXG/2hVidpA TMf3vJwvzYHB/Fg0vpmnQ7TZz8bJLYuMOohf5JQQ1T4pA8QCnnO1GZ8rCZu1o/QTx9vm 1T9Q== X-Gm-Message-State: ACrzQf0UbPO7MVHMya+liL3jf6gmT5vN0Xug+u7+Hserr07vBHhDd7Wa k4rpMAjZTvxgJYclmoxHVefr0q6ePtUWA3FZvTY= X-Received: by 2002:a05:6214:d69:b0:4b4:525e:c987 with SMTP id 9-20020a0562140d6900b004b4525ec987mr10522749qvs.82.1666261756458; Thu, 20 Oct 2022 03:29:16 -0700 (PDT) MIME-Version: 1.0 References: <20221019223446.GA154747@nam-dell> <814aa14-25b-d579-e2d4-5c61ddb749b1@inria.fr> In-Reply-To: <814aa14-25b-d579-e2d4-5c61ddb749b1@inria.fr> From: Tanju Brunostar Date: Thu, 20 Oct 2022 11:29:04 +0100 Message-ID: Subject: Re: [PATCH v2] staging: vt6655: Fix Lines should not end with a '(' To: Julia Lawall Cc: Nam Cao , greg@kroah.com, forest@alittletooquiet.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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, Oct 20, 2022 at 11:18 AM Julia Lawall wrote: > > > > On Thu, 20 Oct 2022, Tanju Brunostar wrote: > > > On Wed, Oct 19, 2022 at 11:35 PM Nam Cao wrote: > > > > > > On Wed, Oct 19, 2022 at 07:20:11PM +0000, Tanjuate Brunostar wrote: > > > > Code style warnings reported by checkpatch. > > > > Improve the layout of a function header: > > > > Put the first parameter immediately after the '(' and align the other > > > > parameters underneath it. > > > > > > > > Signed-off-by: Tanjuate Brunostar > > > > > > > > --- > > > > v2: put static and void on the same line and adjusted the indentation as > > > > suggested by Greg KH > > > > > > I think he meant putting "static" and "void" and also function name on > > > the same line. > > > > > Oh I will do this now. thanks > > > > > Additionally, I think your patch introduces new checkpatch problems. Did > > > you run checkpatch.pl on your patch? > > > > > > Best regards, > > > Nam > > > > > Yes I did. the checkpatch says this: > > Alignment should match open parenthesis > > #89: FILE: drivers/staging/vt6655/rxtx.c:89: > > +static void s_vFillRTSHead(struct vnt_private *pDevice, > > + unsigned char byPktType, > > > > The only way to resolve this would be to add white space which would > > generate another checkpatch problem. how do i fix this please? > > You mean that the ( is not at a point that is a precise multiple of the > tab size? You can put as many tabs as possible and then use spaces > afterwards. > > julia It works. Thank you