Re: [PATCH] UBI: rename free variable

2015-10-09 Thread Heiko Schocher
Hello Al, Am 09.10.2015 um 07:39 schrieb Al Viro: On Fri, Oct 09, 2015 at 06:39:52AM +0200, Heiko Schocher wrote: Hello Al, Sorry, I should have added this info immediately into the patch ... We have in U-Boot a compat.h file, in which we collect all things we need to make linux code running

Re: [PATCH] UBI: rename free variable

2015-10-09 Thread Heiko Schocher
Hello Al, Am 09.10.2015 um 07:39 schrieb Al Viro: On Fri, Oct 09, 2015 at 06:39:52AM +0200, Heiko Schocher wrote: Hello Al, Sorry, I should have added this info immediately into the patch ... We have in U-Boot a compat.h file, in which we collect all things we need to make linux code running

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 06:39:52AM +0200, Heiko Schocher wrote: > Hello Al, > Sorry, I should have added this info immediately into the patch ... > > We have in U-Boot a compat.h file, in which we collect all things > we need to make linux code running under U-Boot, and there we map > kfree() to

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
Hello Al, Am 09.10.2015 um 06:13 schrieb Al Viro: On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: > rename free variable into not "free", as "free" prevents > ubi sources compiling under U-Boot. So rename "free" > into "pfree" where it is a pointer, and into "freel", > where it is a free list. Huh? If U-Boot has free defined as

[PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a free list. Signed-off-by: Heiko Schocher --- drivers/mtd/ubi/fastmap.c | 21 +++-- 1 file changed,

[PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a free list. Signed-off-by: Heiko Schocher --- drivers/mtd/ubi/fastmap.c | 21 +++-- 1

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: > rename free variable into not "free", as "free" prevents > ubi sources compiling under U-Boot. So rename "free" > into "pfree" where it is a pointer, and into "freel", > where it is a free list. Huh? If U-Boot has free defined as

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
Hello Al, Am 09.10.2015 um 06:13 schrieb Al Viro: On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 06:39:52AM +0200, Heiko Schocher wrote: > Hello Al, > Sorry, I should have added this info immediately into the patch ... > > We have in U-Boot a compat.h file, in which we collect all things > we need to make linux code running under U-Boot, and there we map > kfree() to