public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: gdm724x: fix missing blank line after variable declaration
@ 2014-07-16 11:25 Kiran Padwal
  2014-07-16 20:30 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Kiran Padwal @ 2014-07-16 11:25 UTC (permalink / raw)
  To: gregkh
  Cc: rashika.kheria, rusty, peter.p.waskiewicz.jr, valentina.manea.m,
	gulsah.1004, wkang77, kiran.padwal, devel, linux-kernel

From: Kiran Padwal <kiran.padwal@gmail.com>

Checkpatch fix - Add missing blank line after variable declaration

Signed-off-by:Kiran Padwal <kiran.padwal21@gmail.com>

---
 drivers/staging/gdm724x/gdm_lte.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c
index 64c55b9..bc6d574 100644
--- a/drivers/staging/gdm724x/gdm_lte.c
+++ b/drivers/staging/gdm724x/gdm_lte.c
@@ -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;
 }
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] Staging: gdm724x: fix missing blank line after variable declaration
@ 2014-07-16 12:26 Kiran Padwal
  0 siblings, 0 replies; 4+ messages in thread
From: Kiran Padwal @ 2014-07-16 12:26 UTC (permalink / raw)
  To: gregkh; +Cc: wkang77, kiran.padwal21, fengguang.wu, devel, linux-kernel

Checkpatch fix - Add missing blank line after variable declaration

Signed-off-by: Kiran Padwal <kiran.padwal21@gmail.com>
---
 drivers/staging/gdm724x/gdm_tty.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c
index fe47cd3..001348c 100644
--- a/drivers/staging/gdm724x/gdm_tty.c
+++ b/drivers/staging/gdm724x/gdm_tty.c
@@ -111,24 +111,28 @@ static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty)
 static int gdm_tty_open(struct tty_struct *tty, struct file *filp)
 {
 	struct gdm *gdm = tty->driver_data;
+
 	return tty_port_open(&gdm->port, tty, filp);
 }
 
 static void gdm_tty_cleanup(struct tty_struct *tty)
 {
 	struct gdm *gdm = tty->driver_data;
+
 	tty_port_put(&gdm->port);
 }
 
 static void gdm_tty_hangup(struct tty_struct *tty)
 {
 	struct gdm *gdm = tty->driver_data;
+
 	tty_port_hangup(&gdm->port);
 }
 
 static void gdm_tty_close(struct tty_struct *tty, struct file *filp)
 {
 	struct gdm *gdm = tty->driver_data;
+
 	tty_port_close(&gdm->port, tty, filp);
 }
 
@@ -139,6 +143,7 @@ static int gdm_tty_recv_complete(void *data,
 				 int complete)
 {
 	struct gdm *gdm = tty_dev->gdm[index];
+
 	if (!GDM_TTY_READY(gdm)) {
 		if (complete == RECV_PACKET_PROCESS_COMPLETE)
 			gdm_tty_recv(gdm, gdm_tty_recv_complete);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Staging: gdm724x: fix missing blank line after variable declaration
  2014-07-16 11:25 [PATCH] Staging: gdm724x: fix missing blank line after variable declaration Kiran Padwal
@ 2014-07-16 20:30 ` Greg KH
  2014-07-17  3:34   ` kiran padwal
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2014-07-16 20:30 UTC (permalink / raw)
  To: Kiran Padwal
  Cc: devel, rusty, gulsah.1004, wkang77, peter.p.waskiewicz.jr,
	valentina.manea.m, linux-kernel, rashika.kheria, kiran.padwal

On Wed, Jul 16, 2014 at 04:55:23PM +0530, Kiran Padwal wrote:
> From: Kiran Padwal <kiran.padwal@gmail.com>
> 
> Checkpatch fix - Add missing blank line after variable declaration
> 
> Signed-off-by:Kiran Padwal <kiran.padwal21@gmail.com>

Minor nit, you need a ' ' after the ':'.

Also, you sent me two different patches, with the same Subject: line.
So I can't apply either of them, sorry.  Please resend both of them with
better subject lines (hint, put the filename in the subject: that would
fix this...)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Staging: gdm724x: fix missing blank line after variable declaration
  2014-07-16 20:30 ` Greg KH
@ 2014-07-17  3:34   ` kiran padwal
  0 siblings, 0 replies; 4+ messages in thread
From: kiran padwal @ 2014-07-17  3:34 UTC (permalink / raw)
  To: Greg KH
  Cc: devel, Rusty Russell, Gülşah Köse, Won Kang,
	peter.p.waskiewicz.jr, Valentina Manea, linux-kernel,
	Rashika Kheria, Kiran Padwal

Hi,

On Thu, Jul 17, 2014 at 2:00 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Wed, Jul 16, 2014 at 04:55:23PM +0530, Kiran Padwal wrote:
>> From: Kiran Padwal <kiran.padwal@gmail.com>
>>
>> Checkpatch fix - Add missing blank line after variable declaration
>>
>> Signed-off-by:Kiran Padwal <kiran.padwal21@gmail.com>
>
> Minor nit, you need a ' ' after the ':'.
>
> Also, you sent me two different patches, with the same Subject: line.
> So I can't apply either of them, sorry.  Please resend both of them with
> better subject lines (hint, put the filename in the subject: that would
> fix this...)

Thanks, I will resend it.

>
> thanks,
>
> greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-17  3:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 11:25 [PATCH] Staging: gdm724x: fix missing blank line after variable declaration Kiran Padwal
2014-07-16 20:30 ` Greg KH
2014-07-17  3:34   ` kiran padwal
  -- strict thread matches above, loose matches on Subject: below --
2014-07-16 12:26 Kiran Padwal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox