>From: Ameya Palande [mailto:ameya.palande@xxxxxxxxx] >Subject: [PATCH 02/13] DSPBRIDGE: PROCWRAP_Load function cleanup in a complete mess > >If you followed some failure paths, it was entirely possible that >you'd attempt to MEM_Free a user-space pointer, because it wouldn't >have been replaced with a kernel-space copy yet. Now ensure there's >a NULL pointer to stop the cleanup at the position of the first error. > >Signed-off-by: Phil Carmody <ext-phil.2.carmody@xxxxxxxxx> >Signed-off-by: Ameya Palande <ameya.palande@xxxxxxxxx> >Acked-by: Fernando Guzman Lugo <x0095840@xxxxxx> >--- > drivers/dsp/bridge/pmgr/wcd.c | 114 +++++++++++++++++++++++----------------- > 1 files changed, 65 insertions(+), 49 deletions(-) > Small rework to apply, original file (on which the patch is based) had spaces instead of tabs. Pushed to d.o-z - omar -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html