From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933200AbbCPXBt (ORCPT ); Mon, 16 Mar 2015 19:01:49 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:33760 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932065AbbCPXBr (ORCPT ); Mon, 16 Mar 2015 19:01:47 -0400 From: Mateusz Kulikowski To: gregkh@linuxfoundation.org Cc: Mateusz Kulikowski , joe@perches.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 00/11] staging: rtl8192e: fix coding style issues Date: Tue, 17 Mar 2015 00:00:47 +0100 Message-Id: <1426546858-25212-1-git-send-email-mateusz.kulikowski@gmail.com> X-Mailer: git-send-email 1.8.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Various coding style fixes for rtl8192e driver. This series of patches includes v4, was rebased on staging-testing branch (9a836c0a) Changes in v5: - Suggestions by Joe Perches (Thanks!): + Remove unused macros (8/11) + Refactored CURRENT_RATE (11/11) - Removed unused header -rtllib_endianfree.h (6/11) - Removed dead code - commented-out structures (7/11) - Removed implementation of container_of (9/11) - Removed eqMacAddr macro - there is no need to use as Linux already has function to do it checkpatch.pl still complains about some of patches - this will be fixed in future (warnings were mostly already there): 1/11: - usage of subsystem messages instead of printk (fixed in 5/5) - line over 80 characters (string) 2/11, 10/11: - line over 80 characters (fix would need re-indentation) 6/11: - deleted file Mateusz Kulikowski (11): staging: rtl8192e: fix coding style issues (merge broken strings) staging: rtl8192e: fix coding style issues (spaces before semicolon) staging: rtl8192e: fix coding style errors (macros in parentheses) staging: rtl8192e: rtllib_wx: remove duplicate messages staging: rtl8192e: fix coding style warnings (printk -> netdev_*) staging: rtl8192e: remove rtllib_endianfree.h staging: rtl8192e: remove dead code staging: rtl8192e: remove unused macros staging: rtl8192e: rtllib.h: remove duplicated container_of drivers: staging: rtl8192e: remove eqMacAddr macro staging: rtl8192e: remove CURRENT_RATE macro drivers/staging/rtl8192e/dot11d.h | 9 +- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 51 +++--- drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 30 +-- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 128 ++++++------- .../staging/rtl8192e/rtl8192e/r8192E_firmware.c | 27 +-- drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 14 +- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 201 +++++++++++---------- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 22 +-- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 176 +++++++++--------- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 8 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 59 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 8 - drivers/staging/rtl8192e/rtl8192e/rtl_pci.c | 23 ++- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 21 +-- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 36 ++-- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 58 +++--- drivers/staging/rtl8192e/rtl819x_BAProc.c | 77 ++++---- drivers/staging/rtl8192e/rtl819x_HT.h | 47 ----- drivers/staging/rtl8192e/rtl819x_HTProc.c | 34 ++-- drivers/staging/rtl8192e/rtl819x_Qos.h | 18 -- drivers/staging/rtl8192e/rtl819x_TSProc.c | 58 +++--- drivers/staging/rtl8192e/rtllib.h | 42 +---- drivers/staging/rtl8192e/rtllib_crypt.c | 14 +- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 24 +-- drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 66 +++---- drivers/staging/rtl8192e/rtllib_crypt_wep.c | 11 +- drivers/staging/rtl8192e/rtllib_debug.h | 2 +- drivers/staging/rtl8192e/rtllib_endianfree.h | 122 ------------- drivers/staging/rtl8192e/rtllib_rx.c | 74 +++++--- drivers/staging/rtl8192e/rtllib_softmac.c | 162 +++++++++-------- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 9 +- drivers/staging/rtl8192e/rtllib_tx.c | 54 +++--- drivers/staging/rtl8192e/rtllib_wx.c | 18 +- 33 files changed, 771 insertions(+), 932 deletions(-) delete mode 100644 drivers/staging/rtl8192e/rtllib_endianfree.h -- 1.8.4.1