Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp643634rwi; Thu, 20 Oct 2022 03:31:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5D/D2ITheFnO9pLYsE/pl3TShFEpyJtUH196ZDl9eZ5cZm9+qmlHcHmaOJJBKS7XahZqzK X-Received: by 2002:a17:90b:38d1:b0:210:99f9:9712 with SMTP id nn17-20020a17090b38d100b0021099f99712mr6454163pjb.57.1666261911917; Thu, 20 Oct 2022 03:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666261911; cv=none; d=google.com; s=arc-20160816; b=sv3rsJH9gwhfFeg4CYPYsEhiAyPnk1GkcVTbAEVA1ObKfffU5jNh3pfQhoIGOkBkyd SsmdbCwcbRhNRSpg2ngO7w0CZomLxcIRNQYMnBYleKowuNDrDXCLdNlT4q8ajnZxaLe3 6FPjCyXBMHAAmQ9LGKAJj5RPkGeUb/3bkJKZvWq7QY0R5AeWz3FacRgI5i08kbtBk6pr xxc77eJ4OpYvpeMZVDtMkHDqNcljdAxxn5JilMJI5kfWXM9zshOxKbcCcyxl3wjzilST r5+5kfUyZ5xMUuYvmycYlpkfAFDTml4zszkp1+qpPwKh5dOreVEVbaSLq0K9BXaTW3V1 l+Ew== 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=QwJgtBGQmZdLQupX+ESzBTFLWc6n9kUQz57Nvp54uJo=; b=ihBy/xJ+05tRzzPlX9vWlhuj8qfJCSd2IcAPEUKrvI3RHogtoNBH6rbNIjnQDMVjsK QWoBH99OkUXV1VU7ZISxAF5dQSVa8t3uhpFW6eHHENpWGe7rNPxPS3HD2SZiN1rR0h8O O0ofTRTQPqf7QPr9n1DOmjg8yKWAV3zPSTuPgeQz6LNEmTsbtNVVa589tjgg9u6z8/Y/ E+BKELkOS04vhqeYNSzjr8o5xPJf+DgzZCtg6OcIZKv5Wu789hqugfl42cu0tx/7WX6x q4mPYY3BgvXNuqnMyF9/ywY4dYR/L5y3JF+g7WfR+9ZPpxjrcs1Wll6mMsLLDyaCOLkV pKuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WjJRlkVw; 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 n8-20020a63a508000000b0044d72a10ab0si23924552pgf.342.2022.10.20.03.31.36; Thu, 20 Oct 2022 03:31:51 -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=WjJRlkVw; 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 S229890AbiJTKQY (ORCPT + 99 others); Thu, 20 Oct 2022 06:16:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbiJTKP5 (ORCPT ); Thu, 20 Oct 2022 06:15:57 -0400 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E35D1D79BA for ; Thu, 20 Oct 2022 03:15:51 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id f8so12456614qkg.3 for ; Thu, 20 Oct 2022 03:15:51 -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=QwJgtBGQmZdLQupX+ESzBTFLWc6n9kUQz57Nvp54uJo=; b=WjJRlkVwDhD5PSVz1u9sMYo53DGbNpPiqdwbF8DP2N2sVl5DeBvNoQBiho7Izg6l/y fz579yHz2NjGfna2wVbnnV4B91fz3VnH30TwNqwi+QsSbYqI+eX11Tm2n+dPKEKhvoPI b0MVjjPLaZIUHETpAHDw4v1MSBInxw5YbCwYzHsOimSoVQsoVBXMvCKZ2E8/B5FCckzE aaX11127bsTkYVoNJj33z4B0KEEAXrNGdBBvINDmjGiRwcFFRjWFI3fSTfpW1W/suU7h ejZ9tEhCcozNmh0c1bq6uAS7bTnpKs+6yYTj1SqRKLJk7vqN7c0MI0nb2tozCUExRHen 6zPw== 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=QwJgtBGQmZdLQupX+ESzBTFLWc6n9kUQz57Nvp54uJo=; b=aB03Mh7/8XphVjVdmFElb1GZ4SS3tF24rnRstO9+WS7+r0uwYrQ5Jhr+WZIOvqqRUn pN9VeI4ca9e/dJ8Pz4QhWvDKR/JDNk16npaInqZszhk+NtzHa2JaUl5qZKwj5fXGc0VT B9BJAGP+QiqAuiy+3Jaj0vcna+dP8pZ2OnFmz+GCMSRn/jZ9n2Y+1fN7p9mdAqalayCf rK6hWYYqiQsx+c3dGPzWPyPvZdQKshsiV7sdPVOzpqL9Ewsto+PSAi/27DVx6VMGnX4e tpYhTGPICO0+SVfxAPed+OUDnLzYnEQJ9zJt6297zkmOuaRMTuoL2QDIwGGBL30rIQc4 f4dg== X-Gm-Message-State: ACrzQf16C1kKhG1OOKiSkEYImabT2AyDDHacsq7pSriX8Jxciv35Rccz fPAbQU2Y63W6MNky3JlL/vy/dXpSEHOM1rJazBs= X-Received: by 2002:a05:620a:22c3:b0:6ec:53bb:d296 with SMTP id o3-20020a05620a22c300b006ec53bbd296mr8532799qki.158.1666260950158; Thu, 20 Oct 2022 03:15:50 -0700 (PDT) MIME-Version: 1.0 References: <20221019223446.GA154747@nam-dell> In-Reply-To: <20221019223446.GA154747@nam-dell> From: Tanju Brunostar Date: Thu, 20 Oct 2022 11:15:38 +0100 Message-ID: Subject: Re: [PATCH v2] staging: vt6655: Fix Lines should not end with a '(' To: Nam Cao Cc: 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 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?