rtl8150: Use heap buffers for all register access
authorBen Hutchings <ben@decadent.org.uk>
Sat, 4 Feb 2017 16:56:32 +0000 (16:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 15:07:02 +0000 (10:07 -0500)
commit7926aff5c57b577ab0f43364ff0c59d968f6a414
tree953c30e7c4489c7a5bd4b43282b65980590b8600
parent5593523f968bc86d42a035c6df47d5e0979b5ace
rtl8150: Use heap buffers for all register access

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")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rtl8150.c