Message ID | cover.1667723306.git.jacob.bai.au@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1392446wru; Sun, 6 Nov 2022 01:36:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JZNqgQTLnuNKempj7pQSJXMnlnL4VFbgAye+Ez56OfQaSr+EkyS/NWbxHjn61y9cHcRvF X-Received: by 2002:a63:a509:0:b0:46e:e85f:fb8 with SMTP id n9-20020a63a509000000b0046ee85f0fb8mr37649172pgf.519.1667723771708; Sun, 06 Nov 2022 01:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667723771; cv=none; d=google.com; s=arc-20160816; b=E3851soA+aVWU5anhI1x8GFl/7ZA5/jKzxS5uqYQCtwM42ajU6+20bGrit656riujX d4HfNkQPKIlmdOzUonFcwlRXYLWV1SWlDUIpln7akBSFvdS7IVdvmEia3gO7ZEMy3NXG dCfoDzPMPUSFfrGKrtZ2IZmkEiNJyoMGfrc7WHt+L6JNazszDWzdlKIm/oPhy2xbFYTa BUE8wCXe5akUmqnoPv7QuNf30I6dtU3gU3kETzXSjuyh73EpLJe5kKYqEmEA8/+b7tDr DidBWvBBiSC+J4sz86jqHo0+/pD0hghnrkykqs7ldsz3bf7M6yMbOw11Q2MfrI+MJTw6 xmug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=QVmSnXt2cQp/FGtsTIfuWxTO1qzExefIA3nhCwOwGEM=; b=VBthiub+z+L3DdhCaUw3+Mh1SIxSXnfoLfKW/y1O4R3a4jsUxUIb0iKszbGLCKhaxr Qw6L/ybY49qfjdPvuz1FPQE64xarEJCzwZJMpMJGL5GFdsh2xMYBxC1vGFNnIaJj2qs+ 0j06KlgEn/wHjgNq3tVkml3gTy4SNgero2BiBG4guKtpu8woIHiaVJDQV8U7zQXofxTS aYYAHQv+E5rY4eVfaDPEjBWXq3g8roWXBjSXMZGyeQqn9/9y5JCur85yqmH35nvcAOFV cB3oNjT9MmCr+qZ613YCvTWxlCR04rdCcBgsVT0ipetGRxrZMKZzHq2NhCKTcrXjJIgn 3xwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TO0EsbJt; 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 pq3-20020a17090b3d8300b001f2757da25asi5883473pjb.91.2022.11.06.01.35.58; Sun, 06 Nov 2022 01:36: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=20210112 header.b=TO0EsbJt; 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 S229688AbiKFIb0 (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Sun, 6 Nov 2022 03:31:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbiKFIbY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 6 Nov 2022 03:31:24 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDBDDBC0A for <linux-kernel@vger.kernel.org>; Sun, 6 Nov 2022 01:31:22 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id z26so8089390pff.1 for <linux-kernel@vger.kernel.org>; Sun, 06 Nov 2022 01:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=QVmSnXt2cQp/FGtsTIfuWxTO1qzExefIA3nhCwOwGEM=; b=TO0EsbJtWRFqDgIWJq/In23egRIvivDjs3i7F5P2C3YDuEA3NEftvGxLYjNcNk2Kmy Re8NU/fyCfZ89E7yFVUuxbXm6/MNJWWHXzlXSTnUhLc43bMR6SGfGoQppKD3jGTysTbN z/MZqJevuVzCLTvHfFJdNPwIP76jL5iOQ+8Cx4QEBN2SnzATSaEQwoGcFMUMa1xOblF5 mx3Xlj9rJfxmuV66loHKPTzVMXZAyPEVFEC8g+xaTFCfX3TS4PsH9NOMrPlxJgzWKHpV 0yRYkIGCW9+LObbJCuEkXW1ln+zVj4ki3UZZLv1llAqdzqPTRsxjazu2nWU1FzeSM0fi QRMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QVmSnXt2cQp/FGtsTIfuWxTO1qzExefIA3nhCwOwGEM=; b=TpLnOz3w0Wq9Nw8gMXTu1O4mHuw4ZArQneZHicmRxv/TI7jGxm/n/Dxr9lVFr7hLSc SQpPd8/F9J5SX8tAeFMOmEeGEWOnaTBSJGNmV6TZiEz+wXKORPGfH2xoxBgcX+zJ1o7/ r9cvnupF//zAMlPjjDkrO/MIZHOWwg4JAIvid+tdhuEsKL5Byq9+ihkkyw4nPMNqOcq+ xnPW1NZImXoSWA0mzFxJfio+Nsml7DiHHdnObbg0HlrmihIW/mvs2Bnu1Np0hzLgUQx9 Rq1Y/pAx5A4JMtgzAOV2y6csvzLcgzD9V3qzxFWgZrON4I5QGMlUWbDVVN7qBniDvM6A BxVg== X-Gm-Message-State: ACrzQf1tHIyOfzSCGFN+28zhWI/glpeInwNCPUEkryLXl7QxGelmmjVR zKSrksW9TWXnRiefPxU+8lKaTWdfdXmJfb4G X-Received: by 2002:a63:215f:0:b0:46f:c464:a054 with SMTP id s31-20020a63215f000000b0046fc464a054mr29083875pgm.420.1667723482154; Sun, 06 Nov 2022 01:31:22 -0700 (PDT) Received: from jacob-Ubuntu (126.224.215.218.sta.wbroadband.net.au. [218.215.224.126]) by smtp.gmail.com with ESMTPSA id x10-20020a1709027c0a00b00186b8752a78sm2790487pll.80.2022.11.06.01.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 01:31:21 -0700 (PDT) From: Jacob Bai <jacob.bai.au@gmail.com> To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/3] staging: rtl8192e: trivial code cleanup patches Date: Sun, 6 Nov 2022 19:31:15 +1100 Message-Id: <cover.1667723306.git.jacob.bai.au@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <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?1748735121723014220?= X-GMAIL-MSGID: =?utf-8?q?1748735121723014220?= |
Series |
staging: rtl8192e: trivial code cleanup patches
|
|
Message
Jacob Bai
Nov. 6, 2022, 8:31 a.m. UTC
Rename few variables and source files to make it align with other rtlwifi drivers. The patches are required to be applied in sequence. Changes in v4: 1. missing vision number in the v3 Changes in v3: 1.Patch 3: use ARRAY_SIZE() to replace macros, feedback from joe@perches.com Changes in v2: 1. Patch 2: modify r8192E_firmware.c to include table.h instead of r8192E_hwimg.h. Jacob Bai (3): staging: rtl8192e: rename tables in r8192e_hwimg.c staging: rtl8192e: rename r8192E_hwimg.c/h to table.c/h staging: rtl8192e: replace macro defines with ARRAY_SIZE drivers/staging/rtl8192e/rtl8192e/Makefile | 2 +- .../rtl8192e/rtl8192e/r8192E_firmware.c | 2 +- .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 33 ------------ .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 54 +++++++++---------- .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 20 ------- .../rtl8192e/{r8192E_hwimg.c => table.c} | 34 +++++++----- drivers/staging/rtl8192e/rtl8192e/table.h | 33 ++++++++++++ 7 files changed, 84 insertions(+), 94 deletions(-) delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h rename drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.c => table.c} (91%) create mode 100644 drivers/staging/rtl8192e/rtl8192e/table.h
Comments
On 11/6/22 09:31, Jacob Bai wrote: > Rename few variables and source files to make it align with other > rtlwifi drivers. > The patches are required to be applied in sequence. > > Changes in v4: > 1. missing vision number in the v3 > > Changes in v3: > 1.Patch 3: use ARRAY_SIZE() to replace macros, feedback from > joe@perches.com > > Changes in v2: > 1. Patch 2: modify r8192E_firmware.c to include table.h instead of > r8192E_hwimg.h. > > Jacob Bai (3): > staging: rtl8192e: rename tables in r8192e_hwimg.c > staging: rtl8192e: rename r8192E_hwimg.c/h to table.c/h > staging: rtl8192e: replace macro defines with ARRAY_SIZE > > drivers/staging/rtl8192e/rtl8192e/Makefile | 2 +- > .../rtl8192e/rtl8192e/r8192E_firmware.c | 2 +- > .../staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 33 ------------ > .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 54 +++++++++---------- > .../staging/rtl8192e/rtl8192e/r8192E_phy.h | 20 ------- > .../rtl8192e/{r8192E_hwimg.c => table.c} | 34 +++++++----- > drivers/staging/rtl8192e/rtl8192e/table.h | 33 ++++++++++++ > 7 files changed, 84 insertions(+), 94 deletions(-) > delete mode 100644 drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h > rename drivers/staging/rtl8192e/rtl8192e/{r8192E_hwimg.c => table.c} (91%) > create mode 100644 drivers/staging/rtl8192e/rtl8192e/table.h > Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>