Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
make error with new tg3 driver
2012-02-08, 14:13
Post: #1
make error with new tg3 driver
Hi.
I'm trying to build from last source (git 30 Jan 2012 23:10:53 +0000) with the new tg3 driver and I get this error:

Code:
[BUILD] bin/tg3.o
drivers/net/tg3/tg3.c: In function ‘tg3_test_dma’:
drivers/net/tg3/tg3.c:536:12: error: variable ‘saved_dma_rwctrl’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [bin/tg3.o] Error 1

Any help will be appreciated, I need this new driver for my network card.

Thanks.
Find all posts by this user
Quote this message in a reply
2012-02-09, 18:07
Post: #2
RE: make error with new tg3 driver
(2012-02-08 14:13)kralizeck Wrote:  [code][BUILD] bin/tg3.o
drivers/net/tg3/tg3.c: In function ‘tg3_test_dma’:
drivers/net/tg3/tg3.c:536:12: error: variable ‘saved_dma_rwctrl’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Should now be fixed.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)