Skip to content

Commit 07446e0

Browse files
Marco Cesatiintel-lab-lkp
authored andcommitted
Staging: rtl8723bs: fix spaces in drv_types.h
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]>
1 parent b4f1e17 commit 07446e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/staging/rtl8723bs/include/drv_types.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ struct registry_priv {
207207

208208
/* For registry parameters */
209209
#define RGTRY_OFT(field) ((u32)FIELD_OFFSET(struct registry_priv, field))
210-
#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field)
210+
#define RGTRY_SZ(field) sizeof(((struct registry_priv *)0)->field)
211211
#define BSSID_OFT(field) ((u32)FIELD_OFFSET(struct wlan_bssid_ex, field))
212212
#define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field)
213213

@@ -401,7 +401,7 @@ struct adapter {
401401

402402
u32 setband;
403403

404-
void * HalData;
404+
void *HalData;
405405
u32 hal_data_sz;
406406
struct hal_ops HalFunc;
407407

@@ -429,15 +429,15 @@ struct adapter {
429429
void (*intf_free_irq)(struct dvobj_priv *dvobj);
430430

431431

432-
void (*intf_start)(struct adapter * adapter);
433-
void (*intf_stop)(struct adapter * adapter);
432+
void (*intf_start)(struct adapter *adapter);
433+
void (*intf_stop)(struct adapter *adapter);
434434

435-
struct net_device * pnetdev;
435+
struct net_device *pnetdev;
436436
char old_ifname[IFNAMSIZ];
437437

438438
/* used by rtw_rereg_nd_name related function */
439439
struct rereg_nd_name_data {
440-
struct net_device * old_pnetdev;
440+
struct net_device *old_pnetdev;
441441
char old_ifname[IFNAMSIZ];
442442
u8 old_ips_mode;
443443
u8 old_bRegUseLed;

0 commit comments

Comments
 (0)