]> git.karo-electronics.de Git - linux-beck.git/commit
pegasus: Use heap buffers for all register access
authorBen Hutchings <ben@decadent.org.uk>
Sat, 4 Feb 2017 16:56:03 +0000 (16:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Feb 2017 14:11:42 +0000 (15:11 +0100)
commit878b015bcc726560b13be2d906caf6923428f05d
treee355d20b8e23168e8d9ff926327d4400191b2580
parentb90cb484c068b3fd30aee322506d38bcc2f43838
pegasus: Use heap buffers for all register access

[ Upstream commit 5593523f968bc86d42a035c6df47d5e0979b5ace ]

Allocating USB buffers on the stack is not portable, and no longer
works on x86_64 (with VMAP_STACK enabled as per default).

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
References: https://bugs.debian.org/852556
Reported-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tested-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/pegasus.c