From: Olivier Sobrie Date: Tue, 11 Feb 2014 10:01:23 +0000 (+0100) Subject: can: kvaser_usb: check number of channels returned by HW X-Git-Tag: v3.14-rc4~30^2~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862474f8b46f6c1e600d4934e40ba40646c696ec;p=pandora-kernel.git 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 Cc: linux-stable Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed