Page 1 of 1

Latest (201010112244) patch does not work with 2.6.35.7

PostPosted: Tue Oct 12, 2010 9:56 am
by Troppauer
Details: (debian lenny, x86_64)

Code: Select all
  LD      drivers/dca/dca.o
  LD      drivers/dca/built-in.o
  CC      drivers/dma/dmaengine.o
  CC      drivers/dma/iovlock.o
In file included from include/net/route.h:28,
                 from include/net/inet_hashtables.h:32,
                 from include/net/tcp.h:37,
                 from drivers/dma/iovlock.c:31:
include/net/inetpeer.h:43:58: error: macro "atomic_add_return_unchecked" passed 2 arguments, but takes just 1
In file included from include/net/route.h:28,
                 from include/net/inet_hashtables.h:32,
                 from include/net/tcp.h:37,
                 from drivers/dma/iovlock.c:31:
include/net/inetpeer.h: In function 'inet_getid':
include/net/inetpeer.h:43: warning: return makes integer from pointer without a cast
make[2]: *** [drivers/dma/iovlock.o] Error 1
make[1]: *** [drivers/dma] Error 2
make: *** [drivers] Error 2

regards,

Re: Latest (201010112244) patch does not work with 2.6.35.7

PostPosted: Tue Oct 12, 2010 10:43 am
by spender
Thanks for the report. It seems this applies only when REFCOUNT is disabled and should be fixed in the latest patch just uploaded.

-Brad