Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in hal_com.h
Browse files Browse the repository at this point in the history
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo *	bar" should be "foo *bar"
    torvalds#218: FILE: ./include/hal_com.h:218:
    +	struct adapter *	Adapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#230: FILE: ./include/hal_com.h:230:
    +void rtw_init_hal_com_default_value(struct adapter * Adapter);

    ERROR:POINTER_LOCATION: "foo *				bar" should be "foo *bar"
    torvalds#282: FILE: ./include/hal_com.h:282:
    +	void *				pValue1,

    ERROR:POINTER_LOCATION: "foo *				bar" should be "foo *bar"
    torvalds#283: FILE: ./include/hal_com.h:283:
    +	void *				pValue2);

    ERROR:POINTER_LOCATION: "foo *			bar" should be "foo *bar"
    torvalds#285: FILE: ./include/hal_com.h:285:
    +	struct adapter *			Adapter,

    ERROR:POINTER_LOCATION: "foo *				bar" should be "foo *bar"
    torvalds#287: FILE: ./include/hal_com.h:287:
    +	void *				pValue1,

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-42-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Marco Cesati authored and gregkh committed Mar 16, 2021
1 parent 88c15e7 commit cd327ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/staging/rtl8723bs/include/hal_com.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ u8 MRateToHwRate(u8 rate);
u8 HwRateToMRate(u8 rate);

void HalSetBrateCfg(
struct adapter * Adapter,
u8 *mBratesOS,
u16 *pBrateCfg);
struct adapter *Adapter,
u8 *mBratesOS,
u16 *pBrateCfg);

bool
Hal_MappingOutPipe(
Expand All @@ -227,7 +227,7 @@ u8 NumOutPipe

void hal_init_macaddr(struct adapter *adapter);

void rtw_init_hal_com_default_value(struct adapter * Adapter);
void rtw_init_hal_com_default_value(struct adapter *Adapter);

void c2h_evt_clear(struct adapter *adapter);
s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
Expand Down Expand Up @@ -279,12 +279,12 @@ void rtw_bb_rf_gain_offset(struct adapter *padapter);

void GetHalODMVar(struct adapter *Adapter,
enum HAL_ODM_VARIABLE eVariable,
void * pValue1,
void * pValue2);
void *pValue1,
void *pValue2);
void SetHalODMVar(
struct adapter * Adapter,
struct adapter *Adapter,
enum HAL_ODM_VARIABLE eVariable,
void * pValue1,
void *pValue1,
bool bSet);

#ifdef CONFIG_BACKGROUND_NOISE_MONITOR
Expand Down

0 comments on commit cd327ce

Please sign in to comment.