Re: [PATCH] Fixed to checkpatch.pl errors to vlan_dev.c

From: Stefan Schmidt
Date: Mon Dec 05 2016 - 10:49:25 EST


Hello.

On 05/12/16 16:34, Ozgur Karatas wrote:
Hello all,

I will solve a checkpatch errors.

Signed-off-by: Ozgur Karatas <ozgur@xxxxxxxxxxxxxx>

The patch itself looks good, but please have a read about having a good commit message. I would suggest reading Documentation/SubmittingPatches section 14: The canonical patch format

Especially the parts about the subject line and summary.


---
net/8021q/vlan_dev.c | 2 +-
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index fbfacd5..2edb495 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -738,7 +738,7 @@ static int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *n

static void vlan_dev_netpoll_cleanup(struct net_device *dev)
{
- struct vlan_dev_priv *vlan= vlan_dev_priv(dev);
+ struct vlan_dev_priv *vlan = vlan_dev_priv(dev);
struct netpoll *netpoll = vlan->netpoll;

if (!netpoll)


regards
Stefan Schmidt