mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Staging: rtl8723bs: fix spaces in drv_types.h
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#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"
#404: FILE: ./include/drv_types.h:404:
+ void * HalData;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#432: FILE: ./include/drv_types.h:432:
+ void (*intf_start)(struct adapter * adapter);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#433: FILE: ./include/drv_types.h:433:
+ void (*intf_stop)(struct adapter * adapter);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#435: FILE: ./include/drv_types.h:435:
+ struct net_device * pnetdev;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#440: FILE: ./include/drv_types.h:440:
+ struct net_device * old_pnetdev;
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-41-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6aa8b0d561
commit
88c15e77e8
@@ -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)
|
||||
|
||||
@@ -401,7 +401,7 @@ struct adapter {
|
||||
|
||||
u32 setband;
|
||||
|
||||
void * HalData;
|
||||
void *HalData;
|
||||
u32 hal_data_sz;
|
||||
struct hal_ops HalFunc;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user