Hi Alexander, Just to let you know, I haven't forgot this series, I am currently looking at it. I am currently having problems getting this compiled. On Thu, Mar 17, 2016 at 11:00:27AM +0100, Alexander Stein wrote: > If kfree/vfree is called where free is a already variable name, code will > not compile. > Also both take a const* in Linux kernel code. > > Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> > --- > include/linux/barebox-wrapper.h | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h > index fc1b5c2..67b332e 100644 > --- a/include/linux/barebox-wrapper.h > +++ b/include/linux/barebox-wrapper.h > @@ -1,14 +1,21 @@ > #ifndef __INCLUDE_LINUX_BAREBOX_WRAPPER_H > #define __INCLUDE_LINUX_BAREBOX_WRAPPER_H > > +#include <malloc.h> This makes problems for the decompressor code using the malloc implementation in include/linux/decompress/mm.h. With this additional include the normal malloc implementation leaks into the decompressor code. I think I have a patch fixing it but must wait for the compile test. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox