From: Wolfram Sang <wsa@the-dreams.de>
To: Hoan Tran <hotran@apm.com>
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
Phil Endecott <phil_gjouf_endecott@chezphil.org>,
Loc Ho <lho@apm.com>,
tnhuynh@apm.com, patches@apm.com
Subject: Re: [PATCH] i2c: xgene: Avoid dma_buffer overrun
Date: Tue, 25 Oct 2016 11:50:40 +0200 [thread overview]
Message-ID: <20161025095040.GG1597@katana> (raw)
In-Reply-To: <1476119590-21489-1-git-send-email-hotran@apm.com>
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
On Mon, Oct 10, 2016 at 10:13:10AM -0700, Hoan Tran wrote:
> SMBus block command uses the first byte of buffer for the data length.
> The dma_buffer should be increased by 1 to avoid the overrun issue.
>
> Reported-by: Phil Endecott <phil_gjouf_endecott@chezphil.org>
> Signed-off-by: Hoan Tran <hotran@apm.com>
Added stable and applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-10-25 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-10 17:13 [PATCH] i2c: xgene: Avoid dma_buffer overrun Hoan Tran
2016-10-24 22:30 ` Hoan Tran
2016-10-25 9:50 ` Wolfram Sang [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=20161025095040.GG1597@katana \
--to=wsa@the-dreams.de \
--cc=hotran@apm.com \
--cc=lho@apm.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@apm.com \
--cc=phil_gjouf_endecott@chezphil.org \
--cc=tnhuynh@apm.com \
/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).