Tag: 227b9e8708b14a8a26ef67bbbe19b13626df4a35

usbnet: remove invalid check

Author: Andrzej Hajda <a.hajda@samsung.com> skb->len is always non-negative. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda Signed-off-by: David S. Miller — drivers/net/usb/lan78xx.c | 5 —– drivers/net/usb/smsc75xx.c | 5 —– drivers/net/usb/smsc95xx.c | 5 —– 3 files changed, 15 deletions(-)   diff –git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c index 6a70a72..d2a5f3f 100644 — …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.