Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp493677ybg; Sun, 26 Jul 2020 11:06:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGWV8leaR8dsAlVHKMWCUghKslckUz/gZ34333eWM4X3sRS7Q3VpGOBQn0c/iV/lPTlD9f X-Received: by 2002:a17:906:9717:: with SMTP id k23mr3006672ejx.493.1595786788529; Sun, 26 Jul 2020 11:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595786788; cv=none; d=google.com; s=arc-20160816; b=crzLk1EW74p/qMP2s1jLlgVpRko0ctVV2eGLMo/3o9vQw2Ti8BUbD0cPPEYkABxhq2 kQxN0rc6PDQzSdtL6ixpnzjBHdQFST5xLCToUXgTZG329neNS0UZgqxLTQFpW9RCGKk3 spsBTee2zmc5Al/rEYhpC2SKOw3QfK0AIsnB5J1UumlbyoBU3WFliAAMsIBhX4G+P8ST CTUYJ2U2IPdj4iYA1YQ495BcT11tX+9+uK2tVbpW5CfjHdzhROF+D2PcbHrUAbXjEJMN 8aM46sWZrmwhpYlA5m6juDE6UPM5fVxl6yhykszHQlonzhjsi353b7qcPjdNgIVyJAFm Cgbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=njy1r7SA9A6fHsSkCI0GEnHbYoiGBmKDPik7qyN7YE0=; b=IVfvvf0VW1Fk43dCBzaM1pwUaN/DvztRqh4Jh0t1QRZiaR9WvvC31TVkGA+QwblZmx P4XlXus/jK5kn/ADTJG1fYqcAZSIBJbAbUyhStNJ3s3iZbzXOukpWpHv/SGI+tZLj9GB /RY2SP9echLD9CvHPRzEkcAEMi7zqucANsBs80nHQGeeanTHUuGdXE7Pzp5sK8t28OB8 brBI+46sfZuSvC4WVo4JNVRfS5vqWY0z79HBmGawS22ZchWzdvoGSurXd9nFXzwaglI1 04sCYgfwLxp/JcKQaCgsRpZFQEQiER6n05nQOtGUQvboUhnMtfIiTDJ0QbKHJea4H1jC RLhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BWipaAoA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg13si63380ejb.681.2020.07.26.11.06.07; Sun, 26 Jul 2020 11:06:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BWipaAoA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgGZSD7 (ORCPT + 99 others); Sun, 26 Jul 2020 14:03:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgGZSD7 (ORCPT ); Sun, 26 Jul 2020 14:03:59 -0400 Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40511C0619D2 for ; Sun, 26 Jul 2020 11:03:59 -0700 (PDT) Received: by mail-oi1-x241.google.com with SMTP id s144so2561175oie.3 for ; Sun, 26 Jul 2020 11:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=njy1r7SA9A6fHsSkCI0GEnHbYoiGBmKDPik7qyN7YE0=; b=BWipaAoAlTbeuMXzOXwuLgqgKDf8t+9SCzJK02Q3RXx7RrUL/HLsFtXqQFgRyFVcGA IWvU67/VWyZz6bREp5DuyEMihnTE+oj5iIdUZVA/caUIJaSzwyxRmQZZIZYX2VkVd3qF H3JbeRoOCmfkHD+W2CD4FFatE7Hlw0g1MT5zQUvJq0YPFswoEpsR4hUcB8i2LvNFCN6W sL8eOVz+aEXt/5IQuPRGUw1/yM4YRabOUB3cRyI77FzKJ1izDzwPduzX+FfwEEP+7j3J TyQwiHtIURal8OuiBveHTEgfUUzkK0e/Gp9XA8sfLROPS3LhloNKaAnWMhk4G363mVu+ iwFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=njy1r7SA9A6fHsSkCI0GEnHbYoiGBmKDPik7qyN7YE0=; b=pU45rAfiFniUUmINirKKv+an/tifb9rbJIZMbHzQd8fEtNkysN/Kjgjg4TOKxo9wot 71sIVqhKBDp/MpxyoiGd6qjgReHcFQ9/T5OLV8zoGzVVujqAV11NzxhdPz46hnbo73Us HREYmOAhJImXTSJFLOrwQXk2Ruw2tXkNzqcime0eMwGMTmnhmE1TmmB0ZGLhZSAW4Phe H++bbnnOUoY61rysJsuzwgm7y+aTQoowGIPPh4FMsouC+zQLdnlDyUjSh3fiBA1c6fHn /+e7wSRp81Uh6CVVbLQBSFgE88/tpJ5ZWPLuL/WZjezzjWc8cjSRrLH4wdexVxMSvtaw ZcyA== X-Gm-Message-State: AOAM532EiC9bBS1dbnJclM3p6vfWZNWTpLa95tmqS3xsrzwQYZH2IPs1 sxsmvMklBliuj33TxtoJfuXBNADM X-Received: by 2002:aca:5ec6:: with SMTP id s189mr14769289oib.119.1595786638381; Sun, 26 Jul 2020 11:03:58 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id w25sm1751619otm.81.2020.07.26.11.03.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Jul 2020 11:03:57 -0700 (PDT) Subject: Re: [PATCH] staging: rtl8723bs: include: Fix coding style errors To: Aditya Jain , Greg KH Cc: devel@driverdev.osuosl.org, hdegoede@redhat.com, linux-kernel@vger.kernel.org References: <20200726080215.41501-1-aditya.jainadityajain.jain@gmail.com> <20200726082636.GA447282@kroah.com> From: Larry Finger Message-ID: Date: Sun, 26 Jul 2020 13:03:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/26/20 3:40 AM, Aditya Jain wrote: > On Sun, Jul 26, 2020 at 1:56 PM Greg KH wrote: >> >> On Sun, Jul 26, 2020 at 01:32:15PM +0530, Aditya Jain wrote: >>> Fixing ERROR: "foo * bar" should be "foo *bar" in hal_phy_cfg.h >>> as reported by checkpatch.pl >>> >>> Signed-off-by: Aditya Jain >>> --- >>> .../staging/rtl8723bs/include/hal_phy_cfg.h | 18 +++++++++--------- >>> 1 file changed, 9 insertions(+), 9 deletions(-) >>> >>> diff --git a/drivers/staging/rtl8723bs/include/hal_phy_cfg.h b/drivers/staging/rtl8723bs/include/hal_phy_cfg.h >>> index 419ddb0733aa..fd5f377bad4f 100644 >>> --- a/drivers/staging/rtl8723bs/include/hal_phy_cfg.h >>> +++ b/drivers/staging/rtl8723bs/include/hal_phy_cfg.h >>> @@ -42,7 +42,7 @@ u32 Data >>> >>> u32 >>> PHY_QueryRFReg_8723B( >>> -struct adapter * Adapter, >>> +struct adapter *Adapter, >>> u8 eRFPath, >>> u32 RegAddr, >>> u32 BitMask >> >> Ick, these are all horrid. How about just making these all on a single >> line like most functions have them instead of this one cleanup? >> >> Same for the other changes you made in this file. >> >> thanks, >> >> greg k-h > > Agreed. I'll clean it up. While you are at it, drop the "include;" from the subject. For staging, the usual subject is of the form "staging: driver: thing being done". In your case "staging: rtl8723bs: Fix coding style errors". The directory of the files are not relevant. I am also not in favor of the large white space between the variable type and the name, but that is probably the subject of separate patches. Larry