Staging: Fix two warnings that lines run over eighty characters.
PATCH 1/2 Staging: Fix two warnings that lines run over eighty characters.
This patch cleans up the file drivers/staging/rt2860/ap.h by removing the warnings generated by checkpatch.pl that stated two lines run over the 80 character limit.
Signed-off-by Neil Munro <[email protected]>
--- drivers/staging/rt2860/ap.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
drivers/staging/rt2860/ap.h +4 -2
@@ -42,7 +42,8 @@/* ap_wpa.c */ void WpaStateMachineInit (struct rt_rtmp_adapter *pAd, - struct rt_state_machine *Sm, OUT STATE_MACHINE_FUNC Trans[]); +struct rt_state_machine *Sm, + OUT STATE_MACHINE_FUNC Trans[]);#ifdef RTMP_MAC_USB void BeaconUpdateExec(void *SystemSpecific1,
@@ -61,6 +62,7 @@ struct rt_mac_table_entry *MacTableInsertEntry(struct rt_rtmp_adapter *pAd,BOOLEAN MacTableDeleteEntry (struct rt_rtmp_adapter *pAd,u16 wcid,u8 *pAddr); -struct rt_mac_table_entry *MacTableLookup (struct rt_rtmp_adapter *pAd,u8 *pAddr); +struct rt_mac_table_entry *MacTableLookup (struct rt_rtmp_adapter *pAd, +u8 *pAddr);#endif /* __AP_H__ */
--
1.7.0.1
PATCH 2/2 Staging: rt2860: Fixed some warnings generated by checkpatch.pl
drivers/staging/rt2860/ap.h +1 -0
@@ -36,6 +36,7 @@Paul Lin 08-01-2002 created James Tan 09-06-2002 modified (Revise NTCRegTable) John Chang 12-22-2004 modified for RT2561/2661. merge with STA driver +Neil Munro 03-06-2010 modified cleaned up to fit the kernel coding standards */ #ifndef __AP_H__#define __AP_H__
--
1.7.0.1
Re: [PATCH 2/2] Staging: rt2860: Fixed some warnings generated by checkpatch.pl
drivers/staging/rt2860/ap.h line 39
Quoted 9 lines · Niadh
drivers/staging/rt2860/ap.h +1
-0@@ -36,6 +36,7 @@ Paul Lin 08-01-2002 created James Tan 09-06-2002 modified (Revise NTCRegTable) John Chang 12-22-2004 modified for RT2561/2661. merge with STA driver + Neil Munro 03-06-2010 modified cleaned up to fit the kernel coding standards
You don't need this as your changes show up in the changelog, we don't add them to the code anymore.
thanks,
greg k-h