Staging: rtl8192e - fixed style of block comments
PATCH 1/1 Staging: rtl8192e - fixed style of block comments
Fixed style of block comment across whole driver
Found using checkpatch
Signed-off-by Derek Robson <[email protected]>
--- drivers/staging/rtl8192e/rtl8192e/r8190P_def.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h | 2 +- .../staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 +- .../staging/rtl8192e/rtl8192e/r8192E_firmware.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h | 4 +- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_cam.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 30 ++++++------- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 4 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_pm.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_pm.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.h | 2 +- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_Qos.h | 2 +- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtllib.h | 6 ++- drivers/staging/rtl8192e/rtllib_debug.h | 2 +- drivers/staging/rtl8192e/rtllib_module.c | 52 +++++++++++----------- drivers/staging/rtl8192e/rtllib_wx.c | 52 +++++++++++----------- 34 files changed, 103 insertions(+), 101 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef R8190P_DEF_H
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef RTL8225H #define RTL8225H
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef R819XUSB_CMDPKT_H #define R819XUSB_CMDPKT_H
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_phy.h" #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _RTL8192E_H#define _RTL8192E_H
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef __INC_FIRMWARE_H#define __INC_FIRMWARE_H
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef R8180_HW
drivers/staging/rtl8192e/rtl8192e/r8192E_hwimg.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef __INC_HAL8192PciE_FW_IMG_H#define __INC_HAL8192PciE_FW_IMG_H
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include <linux/bitops.h> #include "rtl_core.h"
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _R819XU_PHY_H#define _R819XU_PHY_H
drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h +2 -2
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _R819XU_PHYREG_H#define _R819XU_PHYREG_H
@@ -692,7 +692,7 @@* #define bRxPath4 0x08 * #define bTxPath1 0x10 * #define bTxPath2 0x20 -*/ +*/ #define bHTDetect 0x100#define bCFOEn 0x10000#define bCFOValue 0xfff00000
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_phy.h" #include "r8192E_phyreg.h"
drivers/staging/rtl8192e/rtl8192e/rtl_cam.h +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _RTL_CAM_H#define _RTL_CAM_H
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +15 -15
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include <linux/uaccess.h> #include <linux/pci.h> #include <linux/vmalloc.h>
@@ -101,8 +101,8 @@ static int _rtl92e_down(struct net_device *dev, bool shutdownrf);static void _rtl92e_restart (void *data);/**************************************************************************** ------------------------------IO STUFF------------------------- -*****************************************************************************/ +* -----------------------------IO STUFF------------------------- +****************************************************************************/ u8 rtl92e_readb (struct net_device *dev,int x) {
@@ -141,8 +141,8 @@ void rtl92e_writew(struct net_device *dev, int x, u16 y) }/**************************************************************************** ------------------------------GENERAL FUNCTION------------------------- -*****************************************************************************/ +* -----------------------------GENERAL FUNCTION------------------------- +****************************************************************************/ bool rtl92e_set_rf_state (struct net_device *dev,enum rt_rf_power_state StateToSet,RT_RF_CHANGE_SOURCE ChangeSource)
@@ -1102,8 +1102,8 @@ static short _rtl92e_init(struct net_device *dev) }/*************************************************************************** --------------------------------WATCHDOG STUFF--------------------------- -***************************************************************************/ +* -------------------------------WATCHDOG STUFF--------------------------- +**************************************************************************/ static short _rtl92e_is_tx_queue_empty (struct net_device *dev) {int i =0 ;
@@ -1541,8 +1541,8 @@ static void _rtl92e_watchdog_timer_cb(unsigned long data) }/**************************************************************************** ----------------------------- NIC TX/RX STUFF--------------------------- -*****************************************************************************/ +* ---------------------------- NIC TX/RX STUFF--------------------------- +****************************************************************************/ void rtl92e_rx_enable (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);
@@ -2156,8 +2156,8 @@ static void _rtl92e_irq_rx_tasklet(struct r8192_priv *priv) }/**************************************************************************** ----------------------------- NIC START/CLOSE STUFF--------------------------- -*****************************************************************************/ +* ---------------------------- NIC START/CLOSE STUFF--------------------------- +****************************************************************************/ static void _rtl92e_cancel_deferred_work (struct r8192_priv *priv) {cancel_delayed_work_sync (&priv->watch_dog_wq);
@@ -2535,8 +2535,8 @@ static irqreturn_t _rtl92e_irq(int irq, void *netdev)/**************************************************************************** ----------------------------- PCI_STUFF--------------------------- -*****************************************************************************/ +* ---------------------------- PCI_STUFF--------------------------- +****************************************************************************/ static const struct net_device_ops rtl8192_netdev_ops = { .ndo_open = _rtl92e_open, .ndo_stop = _rtl92e_close,
@@ -2785,8 +2785,8 @@ void rtl92e_check_rfctrl_gpio_timer(unsigned long data) }/*************************************************************************** -------------------- module init / exit stubs ---------------- -****************************************************************************/ +* ------------------- module init / exit stubs ---------------- +***************************************************************************/ MODULE_DESCRIPTION ("Linux driver for Realtek RTL819x WiFi cards" );MODULE_AUTHOR (DRV_COPYRIGHT " " DRV_AUTHOR );MODULE_VERSION (DRV_VERSION );
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _RTL_CORE_H#define _RTL_CORE_H
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +2 -2
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "rtl_dm.h" #include "r8192E_hw.h"
@@ -1330,7 +1330,7 @@ static void _rtl92e_dm_ctrl_initgain_byrssi(struct net_device *dev)* When Who Remark * 03/04/2009 hpfan Create Version 0. * -*---------------------------------------------------------------------------*/ +******************************************************************************/ static void _rtl92e_dm_ctrl_initgain_byrssi_driver (struct net_device *dev) {
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef __R8192UDM_H__#define __R8192UDM_H__
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.c +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "rtl_eeprom.h"
drivers/staging/rtl8192e/rtl8192e/rtl_eeprom.h +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #define EPROM_DELAY 10
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include "rtl_core.h" #include "r8192E_hw.h"
drivers/staging/rtl8192e/rtl8192e/rtl_pm.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef R8192E_PM_H #define R8192E_PM_H
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #include <linux/string.h> #include "rtl_core.h"
drivers/staging/rtl8192e/rtl8192e/rtl_wx.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef R819x_WX_H#define R819x_WX_H
drivers/staging/rtl8192e/rtl819x_BA.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _BATYPE_H_#define _BATYPE_H_
drivers/staging/rtl8192e/rtl819x_HT.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _RTL819XU_HTTYPE_H_#define _RTL819XU_HTTYPE_H_
drivers/staging/rtl8192e/rtl819x_Qos.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef __INC_QOS_TYPE_H#define __INC_QOS_TYPE_H
drivers/staging/rtl8192e/rtl819x_TS.h +1 -1
@@ -11,7 +11,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _TSTYPE_H_#define _TSTYPE_H_#include "rtl819x_Qos.h"
drivers/staging/rtl8192e/rtllib.h +4 -2
@@ -619,7 +619,8 @@ struct ieee_ibss_seq {/* NOTE: This data is for statistical purposes; not all hardware provides this * information for frames received. Not setting these will not cause -* any adverse affects. */ +* any adverse affects. +*/ struct rtllib_rx_stats {u64 mac_time;s8 rssi;
@@ -1138,7 +1139,8 @@ enum {WMM_all_frame, WMM_two_frame, WMM_four_frame, WMM_six_frame};#define ETHER_ADDR_LEN 6/* length of an Ethernet address */ #define ETHERNET_HEADER_SIZE 14/* length of two Ethernet address -* plus ether type*/ +* plus ether type +*/ enum erp_t { ERP_NonERPpresent =0x01 ,
drivers/staging/rtl8192e/rtllib_debug.h +1 -1
@@ -17,7 +17,7 @@* * Contact Information: * wlanfae <[email protected]> -******************************************************************************/ +*****************************************************************************/ #ifndef _RTL_DEBUG_H#define _RTL_DEBUG_H
drivers/staging/rtl8192e/rtllib_module.c +26 -26
56 lines not on this page · raw message
drivers/staging/rtl8192e/rtllib_wx.c +26 -26
56 lines not on this page · raw message
Signature · 1 line
2.12.0