On Mon, Jan 5, 2015 at 3:45 PM, Borislav Petkov <bp@xxxxxxxxx> wrote: > On Sat, Jan 03, 2015 at 08:01:29AM +0530, punnaiah choudary kalluri wrote: >> p is pointing to the stack memory. > > So you could go and allocate all that memory at driver init time and > reuse it each time you handle an error instead of on the stack. This way > your error handling paths are lean and fast. Ok. I will update it. Thanks, Punnaiah > > -- > Regards/Gruss, > Boris. > > Sent from a fat crate under my desk. Formatting is fine. > -- > -- > To unsubscribe from this list: send the line "unsubscribe linux-edac" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html