From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Inderpal Singh <inderpal.singh@linaro.org>
Cc: linux-kernel@vger.kernel.org, sbkim73@samsung.com, lrg@ti.com,
kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org,
patches@linaro.org
Subject: Re: [PATCH] regulator: s5m8767: Fix probe failure due to stack corruption
Date: Mon, 24 Dec 2012 16:25:05 +0000 [thread overview]
Message-ID: <20121224162505.GT30837@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1355282820-18364-1-git-send-email-inderpal.singh@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
On Wed, Dec 12, 2012 at 08:57:00AM +0530, Inderpal Singh wrote:
> The function sec_reg_read invokes regmap_read which expects unsigned int *
> as the destination address. The existing driver is passing address of local
> variable "val" which is u8. This causes the stack corruption and following
> dump is observed during probe.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-12-24 16:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 3:27 [PATCH] regulator: s5m8767: Fix probe failure due to stack corruption Inderpal Singh
2012-12-24 16:25 ` Mark Brown [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=20121224162505.GT30837@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=inderpal.singh@linaro.org \
--cc=kgene.kim@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lrg@ti.com \
--cc=patches@linaro.org \
--cc=sbkim73@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.