From: Greg KH <gregkh@linuxfoundation.org>
To: Johan Hovold <johan@kernel.org>
Cc: linux-usb@vger.kernel.org,
Dan Carpenter <dan.carpenter@oracle.com>,
stable <stable@vger.kernel.org>
Subject: Re: [PATCH] USB: serial: iuu_phoenix: fix DMA from stack
Date: Mon, 4 Jan 2021 15:57:51 +0100 [thread overview]
Message-ID: <X/Ms7xMPzdgWs8Fx@kroah.com> (raw)
In-Reply-To: <20210104145007.28093-1-johan@kernel.org>
On Mon, Jan 04, 2021 at 03:50:07PM +0100, Johan Hovold wrote:
> Stack-allocated buffers cannot be used for DMA (on all architectures) so
> allocate the flush command buffer using kmalloc().
>
> Fixes: 60a8fc017103 ("USB: add iuu_phoenix driver")
> Cc: stable <stable@vger.kernel.org> # 2.6.25
> Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
next prev parent reply other threads:[~2021-01-04 14:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 14:50 [PATCH] USB: serial: iuu_phoenix: fix DMA from stack Johan Hovold
2021-01-04 14:57 ` Greg KH [this message]
2021-01-04 15:31 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X/Ms7xMPzdgWs8Fx@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=dan.carpenter@oracle.com \
--cc=johan@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox