[PATCH 3.10 66/97] can: kvaser_usb: check number of channels returned by HW

2014-03-04 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit 862474f8b46f6c1e600d4934e40ba40646c696ec upstream. It is needed to check the number of channels returned by the HW because it cannot be greater than MAX_NET_DEVICES

[PATCH 3.10 66/97] can: kvaser_usb: check number of channels returned by HW

2014-03-04 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie oliv...@sobrie.be commit 862474f8b46f6c1e600d4934e40ba40646c696ec upstream. It is needed to check the number of channels returned by the HW because it cannot be greater than