summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorOlivier Sobrie <olivier@sobrie.be>2014-02-11 10:01:23 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-03-05 16:13:48 (GMT)
commita2879c1d14a1bd066b2597d778fb9d89d05bdab0 (patch)
tree47afe1ce9951a2109207e15f9db64f55d84077ca /drivers/uio
parent358b2ae8062c24bce75df14b1c5bce063901e96a (diff)
downloadlinux-fsl-qoriq-a2879c1d14a1bd066b2597d778fb9d89d05bdab0.tar.xz
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions