Messages in this thread | | | Date | Mon, 24 Dec 2012 16:25:05 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] regulator: s5m8767: Fix probe failure due to stack corruption |
| |
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. [unhandled content-type:application/pgp-signature] | |