Skip to contentSkip to conversation

Staging: gdm724x: gdm_lte.c: fix missing blank line after variable declaration

PATCH In review Kiran Padwal 2 participants 2 messages Jul 17, 2014 – Jul 18, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: gdm724x: gdm_lte.c: fix missing blank line after variable declaration

Checkpatch fix - Add missing blank line after variable declaration

---
 drivers/staging/gdm724x/gdm_lte.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/staging/gdm724x/gdm_lte.c +2 -0
index 64c55b9..bc6d574 100644
@@ -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
maintainer
#1 lore raw
Quoted 20 lines · Kiran Padwal

Checkpatch fix - Add missing blank line after variable declaration

---
 drivers/staging/gdm724x/gdm_lte.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/staging/gdm724x/gdm_lte.c +1 -0
index 64c55b9..bc6d574 100644
@@ -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