Skip to content

Commit

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

    ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
    torvalds#210: FILE: ./include/drv_types.h:210:
    +#define RGTRY_SZ(field)   sizeof(((struct registry_priv*) 0)->field)

    ERROR:POINTER_LOCATION: "foo *		bar" should be "foo *bar"
    torvalds#404: FILE: ./include/drv_types.h:404:
    +	void *		HalData;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#432: FILE: ./include/drv_types.h:432:
    +	void (*intf_start)(struct adapter * adapter);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#433: FILE: ./include/drv_types.h:433:
    +	void (*intf_stop)(struct adapter * adapter);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#435: FILE: ./include/drv_types.h:435:
    +	struct net_device * pnetdev;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#440: FILE: ./include/drv_types.h:440:
    +		struct net_device * old_pnetdev;

Signed-off-by: Marco Cesati <[email protected]>
  • Loading branch information
Marco Cesati authored and intel-lab-lkp committed Mar 15, 2021
1 parent b4f1e17 commit 07446e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/staging/rtl8723bs/include/drv_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ struct registry_priv {

/* For registry parameters */
#define RGTRY_OFT(field) ((u32)FIELD_OFFSET(struct registry_priv, field))
#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field)
#define RGTRY_SZ(field) sizeof(((struct registry_priv *)0)->field)
#define BSSID_OFT(field) ((u32)FIELD_OFFSET(struct wlan_bssid_ex, field))
#define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field)

Expand Down Expand Up @@ -401,7 +401,7 @@ struct adapter {

u32 setband;

void * HalData;
void *HalData;
u32 hal_data_sz;
struct hal_ops HalFunc;

Expand Down Expand Up @@ -429,15 +429,15 @@ struct adapter {
void (*intf_free_irq)(struct dvobj_priv *dvobj);


void (*intf_start)(struct adapter * adapter);
void (*intf_stop)(struct adapter * adapter);
void (*intf_start)(struct adapter *adapter);
void (*intf_stop)(struct adapter *adapter);

struct net_device * pnetdev;
struct net_device *pnetdev;
char old_ifname[IFNAMSIZ];

/* used by rtw_rereg_nd_name related function */
struct rereg_nd_name_data {
struct net_device * old_pnetdev;
struct net_device *old_pnetdev;
char old_ifname[IFNAMSIZ];
u8 old_ips_mode;
u8 old_bRegUseLed;
Expand Down

0 comments on commit 07446e0

Please sign in to comment.