Re: [PATCH] regulator: s5m8767: Fix probe failure due to stackcorruption

From: Mark Brown
Date: Mon Dec 24 2012 - 11:25:10 EST


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: signature.asc
Description: Digital signature