summaryrefslogtreecommitdiffstats
path: root/net/nfc/core.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-25 10:29:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 09:36:59 -0700
commitea0dbebffe118724cd4df7d9b071ea8ee48d48f0 (patch)
treed2006bfb341caf15c5716fb740c993a530f4947e /net/nfc/core.c
parent2f0295adf6438188c4cd0868f2b1976a2b034e1d (diff)
downloadlinux-ea0dbebffe118724cd4df7d9b071ea8ee48d48f0.tar.bz2
USB: opticon: fix DMA from stack
Make sure to allocate the control-message buffer dynamically as some platforms cannot do DMA from stack. Note that only the first byte of the old buffer was used. Cc: <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/nfc/core.c')
0 files changed, 0 insertions, 0 deletions