On Mon, 2009-06-29 at 14:12 -0700, Garrett Cooper wrote: 
> On Mon, Jun 29, 2009 at 9:53 AM, naresh kamboju<[email protected]> 
> wrote:
> > Hi,
> >
> > I have noticed build error for cacheflush01.c on MIPS.
> > There is edit issue from Windows to Linux text file.
> > Now build issue is resolved.
> > Please find attached patch and below.
> >
> > Best Regards
> > Naresh Kamboju

Henry already submitted a patch to fix this:
http://marc.info/?l=ltp-list&m=124615187102775&w=2

I am yet to check-in that. It is the same as your patch ;-)

Regards--
Subrata

> >
> > Build-Error:
> >
> > cacheflush01.c  -L../../../../lib -lltp -o cacheflush01
> > cacheflush01.c: In function 'cacheflush':
> > cacheflush01.c:52: error: 'B' undeclared (first use in this function)
> > cacheflush01.c:52: error: (Each undeclared identifier is reported only once
> > cacheflush01.c:52: error: for each function it appears in.)
> > cacheflush01.c:52: error: expected ';' before 'B'
> > cacheflush01.c:53: warning: control reaches end of non-void function
> > make: *** [cacheflush01] Error 1
> >
> >
> > Signed-off-by: Naresh Kamboju < [email protected] >
> >
> > diff -Naurb a/testcases/kernel/syscalls/cacheflush/cacheflush01.c
> > b/testcases/kernel/syscalls/cacheflush/cacheflush01.c
> > --- a/testcases/kernel/syscalls/cacheflush/cacheflush01.c       2009-04-15
> > 12:02:35.000000000 +0530
> > +++ b/testcases/kernel/syscalls/cacheflush/cacheflush01.c       2009-06-29
> > 21:38:42.000000000 +0530
> > @@ -49,7 +49,7 @@
> >  #include <asm/cachectl.h>
> >  int cacheflush(char *addr, int nbytes, int cache)
> >  {
> > -B  B  B  B return syscall(__NR_cacheflush, addr, nbytes, cache);
> > +           return syscall(__NR_cacheflush, addr, nbytes, cache);
> >  }
> >  #endif /* __mips__ */
> 
> Nice catch... Heh.
> -Garrett
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to