[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <B5657A6538887040AD3A81F1008BEC63BB25FA@avmb3.qlogic.org>
Date: Sun, 4 Jan 2015 06:32:45 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next] net: More vlan tests before registering
netdevice
> > I guess this is fine as a defensive test, so I'll apply this.
> > But do you actually know of any devices which have violated this rule either
> > now or in the past?
> > I quickly tried to audit the entire tree for this right now and found no problems.
>
> Actually, reverted.
>
> Nothing makes me more angry than a patch that wasn't even build tested:
>
> net/core/dev.c: In function ‘register_netdevice’:
> net/core/dev.c:6285:57: error: expected ‘)’ before ‘{’ token
> net/core/dev.c:6378:1: error: expected expression before ‘}’ token
> net/core/dev.c:6277:4: error: label ‘out’ used but not defined
> net/core/dev.c:6378:1: warning: control reaches end of non-void function [-
> Wreturn-type]
Sorry about that.
Don't know how that happened, but obviously I can't make any excuses.
Regarding your previous question - I hit it while implementing vlan filtering
offload on a new [yet-to-be-published] qlogic driver; Don't know if anyone
actually had that issue in-tree.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists