diff options
author | Olivier Sobrie <olivier@sobrie.be> | 2014-02-11 11:01:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-06 21:30:10 -0800 |
commit | 2551dadbe3a4c652d544068c64b540162ffba27b (patch) | |
tree | 12537ed48e85c95a91d68634c11439d22125720f /virt | |
parent | 44ae49aa88441344fcb35a1b0d44b54aa08a6d3d (diff) | |
download | linux-3.10-2551dadbe3a4c652d544068c64b540162ffba27b.tar.gz linux-3.10-2551dadbe3a4c652d544068c64b540162ffba27b.tar.bz2 linux-3.10-2551dadbe3a4c652d544068c64b540162ffba27b.zip |
can: kvaser_usb: check number of channels returned by HW
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 otherwise it will crash.
Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions