commit | 862474f8b46f6c1e600d4934e40ba40646c696ec | [log] [tgz] |
---|---|---|
author | Olivier Sobrie <olivier@sobrie.be> | Tue Feb 11 11:01:23 2014 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Feb 12 10:42:02 2014 +0100 |
tree | 5cdecee7b00735a71436a884c528b7b8cbb49711 | |
parent | 738b52bb9845da183b6ff46a8f685b56a63379d1 [diff] |
can: kvaser_usb: check number of channels returned by HW It is needed to check the number of channels returned by the HW because it cannot be greater than MAX_NET_DEVICES otherwise it will crash. Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>