Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp643582rwi; Thu, 20 Oct 2022 03:31:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6XaAETkqJMsH8UqVJXO6TIqDTPlCSOWVHyHjXh5XD+t4BhntIgco9Sq9wKEUFZO99/sv4w X-Received: by 2002:a17:902:ec86:b0:185:483e:e4ec with SMTP id x6-20020a170902ec8600b00185483ee4ecmr13396330plg.164.1666261909726; Thu, 20 Oct 2022 03:31:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666261909; cv=none; d=google.com; s=arc-20160816; b=d8IHPMmexctT8H8XhRPjAdrARRxV7R1c8AVRWTl4ofEWyFhumTtsdyYpPYmxxcEAPB /5H3NpylNiGc+SPJUh/OgtrdYMhoSM5LvB9wdvh8ikiTduOyJ/U8r3R1pbMrAVnAD7EE pzAy3jcM/OKrvZE+OaeEoSaW3nT6nMoLJycFFr4Ud/A7aqbAb+4506usii1PZ97CDKPe wBgPiptypW73OT+1Xs6KRyh6O2SK9Vf7BykgzwvBYxvv5PRvu+jTtyOnW12E0CApcTm4 XSDDRVsj8jFPIXPvIH5sETQdcl8p3DiqxKzLFeTcJSZkSOEtZr5tw2bu9tHm+WYaWIDD ANSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=tPk2PsviksQC7IaOLsrQ48UgmDuuHY0n0hcjzx4nQSM=; b=tT5klb2Hbb1Nj8rjeeD7kOXGSiXBLXIM3nBi+APaleOt0oNH6sOlyXLAudY0HJfCsc gOEZyBjI2JqXysy3OvoYK9ez4IplkEfqe2UC0z3oRxyPEE9JjUqcZJhK8PAoL5t9llSV W3lvjp28q4gtOElH/E6Jq8TSx+egVuWAPXk0o54LEulvG9OLpbHxSEilT2vp9MHK4Zdo oTdziP6QDh2sPn3zV7WJBXCT9mMzIN0w2Oi7esL3ItQ72XEELd6L1Vo9raS9LLygJAEa JWF5YjCRDPQWoIyGoAvymdiBGIuZs/Co0gTI2TLM94bSj5NutpAdg7u4DLlxDwRkGXD7 Pw2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=RKjFcLKO; 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=inria.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a17090abf0300b0020b427df9cbsi2790557pjs.38.2022.10.20.03.31.36; Thu, 20 Oct 2022 03:31:49 -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=@inria.fr header.s=dc header.b=RKjFcLKO; 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=inria.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbiJTKTU (ORCPT + 99 others); Thu, 20 Oct 2022 06:19:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbiJTKSu (ORCPT ); Thu, 20 Oct 2022 06:18:50 -0400 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8D681DC4FB for ; Thu, 20 Oct 2022 03:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=tPk2PsviksQC7IaOLsrQ48UgmDuuHY0n0hcjzx4nQSM=; b=RKjFcLKO9hwqGuN2ghiU94H4oEjnMxA2ICrN4UUxOj3isjrMVYwpMfcq h0prEM3A4TJbekw9Zifu6weBYr96EsM4T9ALF7k9bCP42lzvOQzHANPUe IjuNlr/Alic9Ah4hvQsJ38g/aAkkNWUI+fFHeV/hNMfaydm4ZsOUVnwhH g=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.95,198,1661810400"; d="scan'208";a="66149190" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2022 12:18:12 +0200 Date: Thu, 20 Oct 2022 12:18:12 +0200 (CEST) From: Julia Lawall To: Tanju Brunostar cc: Nam Cao , greg@kroah.com, forest@alittletooquiet.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH v2] staging: vt6655: Fix Lines should not end with a '(' In-Reply-To: Message-ID: <814aa14-25b-d579-e2d4-5c61ddb749b1@inria.fr> References: <20221019223446.GA154747@nam-dell> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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, 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