From: Nikolai Kondrashov <spbnick@gmail.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org,
DIGImend-devel <DIGImend-devel@lists.sourceforge.net>
Subject: [PATCHES] HID: huion: Fix "doing dma on the stack"
Date: Mon, 11 Aug 2014 20:45:30 +0300 [thread overview]
Message-ID: <1407779132-26749-1-git-send-email-spbnick@gmail.com> (raw)
Hi everyone,
These two patches work towards fixing the "doing dma on the stack" reported by
a static analyzer (I'm not sure which one) for my recent changes to hid-huion
driver.
The first one is easier to read with whitespace changes ingored (-w).
Both patches were tested by me with a Huion H610N tablet.
Nick
drivers/hid/hid-huion.c | 128 +++++++++++++++++++++++++++++-------------------
1 file changed, 78 insertions(+), 50 deletions(-)
next reply other threads:[~2014-08-11 17:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 17:45 Nikolai Kondrashov [this message]
2014-08-11 17:45 ` [PATCH 1/2] HID: huion: Fail on parameter retrieval errors Nikolai Kondrashov
2014-08-11 17:45 ` [PATCH 2/2] HID: huion: Use allocated buffer for DMA Nikolai Kondrashov
2014-08-12 9:27 ` [PATCHES] HID: huion: Fix "doing dma on the stack" Jiri Kosina
2014-08-12 10:05 ` Nikolai Kondrashov
2014-08-12 10:46 ` Jiri Kosina
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=1407779132-26749-1-git-send-email-spbnick@gmail.com \
--to=spbnick@gmail.com \
--cc=DIGImend-devel@lists.sourceforge.net \
--cc=jkosina@suse.cz \
--cc=linux-input@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;
as well as URLs for NNTP newsgroup(s).