From: David Miller <davem@davemloft.net>
To: ceggers@gmx.de
Cc: netdev@vger.kernel.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [Resubmit] [PATCH] usb/mcs7830: Don't use buffers from stack for USB transfers
Date: Wed, 21 Jan 2009 12:56:38 -0800 (PST) [thread overview]
Message-ID: <20090121.125638.152447234.davem@davemloft.net> (raw)
In-Reply-To: <200901211248.30794.ceggers@gmx.de>
From: Christian Eggers <ceggers@gmx.de>
Date: Wed, 21 Jan 2009 12:48:30 +0100
> mcs7830_set_reg() and mcs7830_get_reg() are called with buffers
> from stack which must not be used directly for USB transfers.
> This causes corruption of the stack particulary on non x86
> architectures because DMA may be used for these transfers.
>
> Signed-off-by: Christian Eggers <christian.eggers@kathrein.de>
Applied, thanks everyone.
prev parent reply other threads:[~2009-01-21 20:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 11:48 [Resubmit] [PATCH] usb/mcs7830: Don't use buffers from stack for USB transfers Christian Eggers
2009-01-21 20:56 ` David Miller [this message]
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=20090121.125638.152447234.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ceggers@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=torvalds@osdl.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).