Staging: gdm724x: gdm_lte.c: fix missing blank line after variable declaration
PATCH 1/1 Staging: gdm724x: gdm_lte.c: fix missing blank line after variable declaration
Checkpatch fix - Add missing blank line after variable declaration
Signed-off-by Kiran Padwal <[email protected]>
--- drivers/staging/gdm724x/gdm_lte.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/staging/gdm724x/gdm_lte.c +2 -0
@@ -447,6 +447,7 @@ static int gdm_lte_tx(struct sk_buff *skb, struct net_device *dev)*/ if (nic_type &NIC_TYPE_F_VLAN ) {struct vlan_ethhdr *vlan_eth = (struct vlan_ethhdr *)skb->data; + nic->vlan_id =ntohs (vlan_eth->h_vlan_TCI) &VLAN_VID_MASK ; data_buf = skb->data + (VLAN_ETH_HLEN -ETH_HLEN ); data_len = skb->len - (VLAN_ETH_HLEN -ETH_HLEN );
@@ -505,6 +506,7 @@ static int gdm_lte_tx(struct sk_buff *skb, struct net_device *dev)static struct net_device_stats *gdm_lte_stats (struct net_device *dev) {struct nic *nic =netdev_priv (dev); +return &nic->stats; }
Signature · 1 line
1.7.9.5
Greg KH
maintainerQuoted 20 lines · Kiran Padwal
Checkpatch fix - Add missing blank line after variable declaration
Signed-off-by Kiran Padwal <[email protected]>--- drivers/staging/gdm724x/gdm_lte.c | 2 ++ 1 file changed, 2 insertions(+)drivers/staging/gdm724x/gdm_lte.c +1
-0@@ -447,6 +447,7 @@ static int gdm_lte_tx(struct sk_buff *skb, struct net_device *dev)*/ if (nic_type &NIC_TYPE_F_VLAN ) {struct vlan_ethhdr *vlan_eth = (struct vlan_ethhdr *)skb->data; + nic->vlan_id =ntohs (vlan_eth->h_vlan_TCI) &VLAN_VID_MASK ; data_buf = skb->data + (VLAN_ETH_HLEN -ETH_HLEN ); data_len = skb->len - (VLAN_ETH_HLEN -ETH_HLEN );
drivers/staging/gdm724x/gdm_lte.c static int gdm_lte_tx(struct sk_buff *skb, struct net_device *dev) · line 512
Quoted 7 lines
drivers/staging/gdm724x/gdm_lte.c +1
-0@@ -505,6 +506,7 @@ static int gdm_lte_tx(struct sk_buff *skb, struct net_device *dev)static struct net_device_stats *gdm_lte_stats (struct net_device *dev) {struct nic *nic =netdev_priv (dev); +return &nic->stats; }
Someone else sent me this same patch back in May, and it's in my tree. Please always work against linux-next, or my staging-next branch of my staging.git tree if you want to send me patches like this.
thanks,
greg k-h