Message ID | cover.1687092111.git.yogi.kernel@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2451612vqr; Sun, 18 Jun 2023 06:06:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42K66QHE4/QrJ0+/oY7JcQKr1qIWqUWa8aRws0H8aXjzDprWT9krqfQP0fFCmCnqBP2Bx/ X-Received: by 2002:a05:6808:119:b0:398:2a6b:8647 with SMTP id b25-20020a056808011900b003982a6b8647mr5334860oie.35.1687093571700; Sun, 18 Jun 2023 06:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687093571; cv=none; d=google.com; s=arc-20160816; b=evg6rZG0l/Zdmnx3rpHxr8mylppwhrejE5EejBc/CTPf1gDtuuGkknb33y7S+RCTYl +DsaLAPqvBqZXGTacTZPBWjFbb0DeuCxvQuaSLl0nTbWkqDAq2EXAPqC+U41ZB59Z+KM aDUo99lMCLaQAf2Hrt9KdV1hGs7rv1nUuPIkytJ7qutADGCyo3yQ8Y7VAatWIHucIH+a rG35cVjZibV7kEm7/vbczPrhP7aKzQY4W5zkVY+hudqTIKOATZu2iWr+PpKlLt4d84e0 WYnR3+B0FI5zcpFG+PI5azIHyZyG6CaxEfelbTzFxOhitbJNvvcdEaN+A1qkChbS3msN M5JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=Z+3L0ggJSfWU7Zuqsbvu6xk0bd4fTGwDV0IPuzKiTyQ=; b=NbJJqFp5CkHsIakh5KTlN3jZ1/9mVRAyIftlETKsidwps1O/xlGyZDxJ3BZq6Jd82Z CqDxwhDikEoqyeGZHMO2A5uH6I3rIqlRcLuvdG/NxId/2/lVNsHSfCQtONfJYVhypz9p ZtIImU5bQHXK0gZibORy89kSm5/iWctzFUKlufpttOMFnLnWaP51A9GMxUSc8NEnoWmB XFNwxvfl7BnML5KKrhlr3aHZ3Pup1qbDQHX3XgTDRmJON6FEemwQFBZwH1ImuXo8cFz7 3mk1/gydjLK+VMKjtO5GYHsYDxw/PRm8/QZfgYizayH6I1GkEu8jaxpIR0pauxZzNdI4 z/Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Azw0dRns; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bk2-20020a17090b080200b0025be6419478si4303195pjb.92.2023.06.18.06.05.53; Sun, 18 Jun 2023 06:06:11 -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=Azw0dRns; 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 S229695AbjFRNDN (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Sun, 18 Jun 2023 09:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjFRNDM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 18 Jun 2023 09:03:12 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5BF61AB for <linux-kernel@vger.kernel.org>; Sun, 18 Jun 2023 06:03:10 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-666ecf9a081so1624254b3a.2 for <linux-kernel@vger.kernel.org>; Sun, 18 Jun 2023 06:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687093390; x=1689685390; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Z+3L0ggJSfWU7Zuqsbvu6xk0bd4fTGwDV0IPuzKiTyQ=; b=Azw0dRnsLrFwP4gVr4y9n+Yg7DuW/gctTRllmlendUKySevHv2a/ZO0ik9ygWV+AdE 2Fjtsbb7RvxCB0XZI+LgW9p6Oi5X54ClLosqQaRIxO4eHoz+nCDtL4WSVV1xaRkj/Tqe 0oysrWpvd5/69PqrMbL0JAxcH/xW1S/O3pZSQqPXNjjxHZjGxaBun671IVaSShlxw+0s IWz16xDcTMvcRr3T/bcQfbtncS08I3A1xqviCFHX3+n7WUbG/I7WejP+UtZ/2vMQCtBD PaUESH4cwO8eqkaFih2Pfc7eNW6+kCxj+XTMVPzfbhefyXqYTPz0Jl1LHR3MPEIICFrl taXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687093390; x=1689685390; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z+3L0ggJSfWU7Zuqsbvu6xk0bd4fTGwDV0IPuzKiTyQ=; b=lxJoLXJ/NCE8/zmB/0B1qudrLnjexakC4v2h1Zec83RmSmcIQvlEmI6+ZFKJO4RzbF YlGraEAG+GDSWCXukOyUxqJRsApv0na5r8PBGIiDpi7W0Tg9FlFkOAhMrBT/bdAzkzOS OGFcbYB0INAQQpRwzBTuesko04490YsfMAETap8iGyPvRfOKN4rCJ8AFU3Mft6/d4KrV Dp5lL1hS6ioDDVMVF1z/hplfiFXRSPEs7kXaZho45P46ZKsT36c9ITCV5uu7etJduXai GnnRL9OdAup+bF6+/5E0yw7hOl89ToSQY9vCNTmH6ENq9J1dBhi9etvV9KVSKTCg71vd vA6w== X-Gm-Message-State: AC+VfDyTScKTWJE8hz7RsS6FySeB28f2irKD/FZ9eCVyjObiRXI7CopP /jqsmL//ztalqi11guXBX1E= X-Received: by 2002:a05:6a00:1891:b0:666:b0fb:fa8c with SMTP id x17-20020a056a00189100b00666b0fbfa8cmr11485609pfh.3.1687093390292; Sun, 18 Jun 2023 06:03:10 -0700 (PDT) Received: from zephyrusG14 ([103.251.210.211]) by smtp.gmail.com with ESMTPSA id r3-20020a635d03000000b005533dcb7586sm3241005pgb.20.2023.06.18.06.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jun 2023 06:03:09 -0700 (PDT) Date: Sun, 18 Jun 2023 18:33:04 +0530 From: Yogesh Hegde <yogi.kernel@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: dan.carpenter@linaro.org, philipp.g.hortmann@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, ivan.orlov0322@gmail.com Subject: [PATCH v3 0/4] Trivial code cleanup patches Message-ID: <cover.1687092111.git.yogi.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769045829180623725?= X-GMAIL-MSGID: =?utf-8?q?1769045829180623725?= |
Series | Trivial code cleanup patches | |
Message
Yogesh Hegde
June 18, 2023, 1:03 p.m. UTC
Rename variables in struct rtllib_device to avoid CamelCase which is not accepted by checkpatch. --- v3: The driver is split into 2 modules, calling the functions directly which the v2 of the patchset does breaks compile. So reverting back to v1 of the patch as suggested by Greg Kroah-Hartman <gregkh@linuxfoundation.org>. v2: Removed the variable and called the function directly instead of just renaming the variable as suggested by Greg Kroah-Hartman <gregkh@linuxfoundation.org>. Yogesh Hegde (4): staging: rtl8192e: Rename variable SetWirelessMode staging: rtl8192e: Rename variable SetBWModeHandler staging: rtl8192e: Rename variable LeisurePSLeave staging: rtl8192e: Rename variable InitialGainHandler drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 4 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 8 ++++---- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib.h | 12 ++++++------ drivers/staging/rtl8192e/rtllib_rx.c | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 12 ++++++------ drivers/staging/rtl8192e/rtllib_softmac_wx.c | 6 +++--- 7 files changed, 24 insertions(+), 24 deletions(-)
Comments
On 6/18/23 15:03, Yogesh Hegde wrote: > Rename variables in struct rtllib_device to avoid CamelCase which is not > accepted by checkpatch. > > --- > v3: The driver is split into 2 modules, calling the functions directly which > the v2 of the patchset does breaks compile. So reverting back to v1 of > the patch as suggested by Greg Kroah-Hartman <gregkh@linuxfoundation.org>. > > v2: Removed the variable and called the function directly instead of > just renaming the variable as suggested by Greg Kroah-Hartman > <gregkh@linuxfoundation.org>. > > > > Yogesh Hegde (4): > staging: rtl8192e: Rename variable SetWirelessMode > staging: rtl8192e: Rename variable SetBWModeHandler > staging: rtl8192e: Rename variable LeisurePSLeave > staging: rtl8192e: Rename variable InitialGainHandler > > drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 4 ++-- > drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 8 ++++---- > drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- > drivers/staging/rtl8192e/rtllib.h | 12 ++++++------ > drivers/staging/rtl8192e/rtllib_rx.c | 2 +- > drivers/staging/rtl8192e/rtllib_softmac.c | 12 ++++++------ > drivers/staging/rtl8192e/rtllib_softmac_wx.c | 6 +++--- > 7 files changed, 24 insertions(+), 24 deletions(-) > This patch series alone is fine. But when my patch series ([PATCH 0/9] staging: rtl8192e: Remove unsupported modes a and 5G) is applied before it fails as we change same lines. Will see what happens. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
On Sun, Jun 18, 2023 at 10:26:37PM +0200, Philipp Hortmann wrote: > On 6/18/23 15:03, Yogesh Hegde wrote: > > Rename variables in struct rtllib_device to avoid CamelCase which is not > > accepted by checkpatch. > > > > --- > > v3: The driver is split into 2 modules, calling the functions directly which > > the v2 of the patchset does breaks compile. So reverting back to v1 of > > the patch as suggested by Greg Kroah-Hartman <gregkh@linuxfoundation.org>. > > > > v2: Removed the variable and called the function directly instead of > > just renaming the variable as suggested by Greg Kroah-Hartman > > <gregkh@linuxfoundation.org>. > > > > > > > > Yogesh Hegde (4): > > staging: rtl8192e: Rename variable SetWirelessMode > > staging: rtl8192e: Rename variable SetBWModeHandler > > staging: rtl8192e: Rename variable LeisurePSLeave > > staging: rtl8192e: Rename variable InitialGainHandler > > > > drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 4 ++-- > > drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 8 ++++---- > > drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- > > drivers/staging/rtl8192e/rtllib.h | 12 ++++++------ > > drivers/staging/rtl8192e/rtllib_rx.c | 2 +- > > drivers/staging/rtl8192e/rtllib_softmac.c | 12 ++++++------ > > drivers/staging/rtl8192e/rtllib_softmac_wx.c | 6 +++--- > > 7 files changed, 24 insertions(+), 24 deletions(-) > > > This patch series alone is fine. But when my patch series ([PATCH 0/9] > staging: rtl8192e: Remove unsupported modes a and 5G) is applied before it > fails as we change same lines. Will see what happens. Yes, none of these apply :( Yogesh, can you rebase this on my staging-next branch and resend? thanks, greg k-h
Hi Greg, On Mon, Jun 19, 2023 at 02:57:56PM +0200, Greg Kroah-Hartman wrote: > On Sun, Jun 18, 2023 at 10:26:37PM +0200, Philipp Hortmann wrote: > > This patch series alone is fine. But when my patch series ([PATCH 0/9] > > staging: rtl8192e: Remove unsupported modes a and 5G) is applied before it > > fails as we change same lines. Will see what happens. > > Yes, none of these apply :( > > Yogesh, can you rebase this on my staging-next branch and resend? Sure, will rebase and resend. Did you mean staging-testing branch instead of staging-next branch ? The patch series is rebased to commit "f99bbb4412ce axis-fifo: remove the unnecessary dev_info()" which is the HEAD of staging-next. Latest changes by Philipp are merged into staging-testing branch. Let me know if you still want to rebase it to staging-next branch. Regards Yogesh
On Mon, Jun 19, 2023 at 07:19:21PM +0530, Yogesh Hegde wrote: > Hi Greg, > On Mon, Jun 19, 2023 at 02:57:56PM +0200, Greg Kroah-Hartman wrote: > > On Sun, Jun 18, 2023 at 10:26:37PM +0200, Philipp Hortmann wrote: > > > This patch series alone is fine. But when my patch series ([PATCH 0/9] > > > staging: rtl8192e: Remove unsupported modes a and 5G) is applied before it > > > fails as we change same lines. Will see what happens. > > > > Yes, none of these apply :( > > > > Yogesh, can you rebase this on my staging-next branch and resend? > Sure, will rebase and resend. Did you mean staging-testing branch instead of > staging-next branch ? Yes, sorry.